pub enum Error<'a, Key: 'a> {
NotFound {
key: &'a Key,
},
Poisoned {
key: &'a Key,
},
WouldBlock {
key: &'a Key,
},
MismatchedType {
key: &'a Key,
expected: &'static str,
found: &'static str,
},
CreationError {
key: &'a Key,
error: Box<StdError>,
},
}
TODO something about BorrowState when using RefCells for Services?
Variants
NotFound
Fields
Poisoned
Fields
WouldBlock
Fields
MismatchedType
Fields
key: &'a Key | |
expected: &'static str | |
found: &'static str | |
CreationError
Fields
Trait Implementations
Formats the value using the given formatter.
Formats the value using the given formatter.
The lower-level cause of this error, if any. Read more