Enum error_chain::example_generated::ErrorKind [−][src]
Expand description
The kind of an error.
Variants
Inner(ErrorKind)
Link to another ErrorChain
.
Io(Error)
Link to a std::io::Error
type.
Msg(String)
A convenient variant for String.
A custom error kind.
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