Enum error_chain::example_generated::inner::ErrorKind [−][src]
pub enum ErrorKind { Msg(String), // some variants omitted }
Expand description
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Implementations
impl ErrorKind
[src]
impl ErrorKind
[src]pub fn description(&self) -> &str
[src]
pub fn description(&self) -> &str
[src]A string describing the error kind.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more