pub struct DexError {
pub message: String,
}Expand description
A generic error type
Fields§
§message: StringError message
Implementations§
Trait Implementations§
Source§impl Error for DexError
Implement Error trait for DexError
impl Error for DexError
Implement Error trait for DexError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · 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
Auto Trait Implementations§
impl Freeze for DexError
impl RefUnwindSafe for DexError
impl Send for DexError
impl Sync for DexError
impl Unpin for DexError
impl UnwindSafe for DexError
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