pub enum DeagleError {
Database(Error),
Io(Error),
Parse {
file: String,
message: String,
},
Other(String),
}Expand description
Errors from deagle operations.
Variants§
Trait Implementations§
Source§impl Debug for DeagleError
impl Debug for DeagleError
Source§impl Display for DeagleError
impl Display for DeagleError
Source§impl Error for DeagleError
impl Error for DeagleError
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 DeagleError
impl From<Error> for DeagleError
Auto Trait Implementations§
impl Freeze for DeagleError
impl !RefUnwindSafe for DeagleError
impl Send for DeagleError
impl Sync for DeagleError
impl Unpin for DeagleError
impl UnsafeUnpin for DeagleError
impl !UnwindSafe for DeagleError
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