pub struct ErrorDef {
pub name: String,
pub rust_path: String,
pub variants: Vec<ErrorVariant>,
pub doc: String,
}Expand description
An error type (enum used in Result<T, E>).
Fields§
§name: String§rust_path: String§variants: Vec<ErrorVariant>§doc: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for ErrorDef
impl<'de> Deserialize<'de> for ErrorDef
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
Auto Trait Implementations§
impl Freeze for ErrorDef
impl RefUnwindSafe for ErrorDef
impl Send for ErrorDef
impl Sync for ErrorDef
impl Unpin for ErrorDef
impl UnsafeUnpin for ErrorDef
impl UnwindSafe for ErrorDef
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