Enum value_box::BoxerError
source · [−]pub enum BoxerError {
NullPointer(String),
NoValue(String),
IOError(Error),
AnyError(Box<dyn Error>),
}
Variants
NullPointer(String)
NoValue(String)
IOError(Error)
AnyError(Box<dyn Error>)
Trait Implementations
sourceimpl Debug for BoxerError
impl Debug for BoxerError
sourceimpl Display for BoxerError
impl Display for BoxerError
sourceimpl Error for BoxerError
impl Error for BoxerError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl<T> From<BoxerError> for Result<T, BoxerError>
impl<T> From<BoxerError> for Result<T, BoxerError>
sourcefn from(error: BoxerError) -> Self
fn from(error: BoxerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for BoxerError
impl !Send for BoxerError
impl !Sync for BoxerError
impl Unpin for BoxerError
impl !UnwindSafe for BoxerError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more