pub struct FileMagicError {
pub desc: String,
}
Expand description
The error type used in this crate
Fields§
§desc: String
Trait Implementations§
Source§impl Clone for FileMagicError
impl Clone for FileMagicError
Source§fn clone(&self) -> FileMagicError
fn clone(&self) -> FileMagicError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FileMagicError
impl Debug for FileMagicError
Source§impl Display for FileMagicError
impl Display for FileMagicError
Source§impl Error for FileMagicError
impl Error for FileMagicError
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
Source§impl PartialEq for FileMagicError
impl PartialEq for FileMagicError
impl Eq for FileMagicError
impl StructuralPartialEq for FileMagicError
Auto Trait Implementations§
impl Freeze for FileMagicError
impl RefUnwindSafe for FileMagicError
impl Send for FileMagicError
impl Sync for FileMagicError
impl Unpin for FileMagicError
impl UnwindSafe for FileMagicError
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