pub enum EvolutionError {
Io(Error),
Store(StoreError),
}Expand description
Error type for the evolution crate.
Variants§
Trait Implementations§
Source§impl Debug for EvolutionError
impl Debug for EvolutionError
Source§impl Display for EvolutionError
impl Display for EvolutionError
Source§impl Error for EvolutionError
impl Error for EvolutionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for EvolutionError
impl From<Error> for EvolutionError
Source§impl From<Error> for EvolutionError
impl From<Error> for EvolutionError
Source§impl From<StoreError> for EvolutionError
impl From<StoreError> for EvolutionError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for EvolutionError
impl !UnwindSafe for EvolutionError
impl Freeze for EvolutionError
impl Send for EvolutionError
impl Sync for EvolutionError
impl Unpin for EvolutionError
impl UnsafeUnpin for EvolutionError
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