Enum mini_functions::errors::common::Error
source · pub enum Error {
Show 16 variants
Argument(String),
Assertion(String),
Concurrency(String),
Data(String),
External(String),
Format(String),
Implementation(String),
Initialization(String),
Internal(String),
Interruption(String),
Operation(String),
Rejection(String),
State(String),
Timeout(String),
Unknown(String),
Version(String),
}
Expand description
Error is an enumeration of different error types
Variants§
Argument(String)
Argument error
Assertion(String)
Assertion error
Concurrency(String)
Concurrency error
Data(String)
Data error
External(String)
External error
Format(String)
Format error
Implementation(String)
Implementation error
Initialization(String)
Initialization error
Internal(String)
Internal error
Interruption(String)
Interruption error
Operation(String)
Operation error
Rejection(String)
Rejection error
State(String)
State error
Timeout(String)
Timeout error
Unknown(String)
Unknown error
Version(String)
Version error
Implementations§
Trait Implementations§
source§impl Ord for Error
impl Ord for Error
source§impl PartialEq for Error
impl PartialEq for Error
source§impl PartialOrd for Error
impl PartialOrd for Error
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Error
impl StructuralEq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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