pub enum TurnErrorClass {
PlanLimit,
AuthRequired,
Internal,
Other,
}Expand description
Coarse classification of a turn-level error message. The
classifier itself lives in forge-agent’s
translate::error_handling; this enum is the wire shape it
produces.
Variants§
Trait Implementations§
Source§impl Clone for TurnErrorClass
impl Clone for TurnErrorClass
impl Copy for TurnErrorClass
Source§impl Debug for TurnErrorClass
impl Debug for TurnErrorClass
Source§impl<'de> Deserialize<'de> for TurnErrorClass
impl<'de> Deserialize<'de> for TurnErrorClass
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TurnErrorClass
Source§impl PartialEq for TurnErrorClass
impl PartialEq for TurnErrorClass
Source§impl Serialize for TurnErrorClass
impl Serialize for TurnErrorClass
impl StructuralPartialEq for TurnErrorClass
Auto Trait Implementations§
impl Freeze for TurnErrorClass
impl RefUnwindSafe for TurnErrorClass
impl Send for TurnErrorClass
impl Sync for TurnErrorClass
impl Unpin for TurnErrorClass
impl UnsafeUnpin for TurnErrorClass
impl UnwindSafe for TurnErrorClass
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.