pub enum ExfatError<T: UnixEpochDuration, O: WriteSeek>where
T::Err: Debug,{
Format(ExfatFormatError<T>),
Io(O::Err),
}Variants§
Format(ExfatFormatError<T>)
Io(O::Err)
Trait Implementations§
Source§impl<T: UnixEpochDuration, O: WriteSeek> Display for ExfatError<T, O>
impl<T: UnixEpochDuration, O: WriteSeek> Display for ExfatError<T, O>
Source§impl<T: UnixEpochDuration, O: WriteSeek> Error for ExfatError<T, O>
impl<T: UnixEpochDuration, O: WriteSeek> Error for ExfatError<T, O>
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<T: UnixEpochDuration, O: WriteSeek> From<ExfatFormatError<T>> for ExfatError<T, O>where
T::Err: Debug,
impl<T: UnixEpochDuration, O: WriteSeek> From<ExfatFormatError<T>> for ExfatError<T, O>where
T::Err: Debug,
Source§fn from(source: ExfatFormatError<T>) -> Self
fn from(source: ExfatFormatError<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T, O> Freeze for ExfatError<T, O>
impl<T, O> RefUnwindSafe for ExfatError<T, O>
impl<T, O> Send for ExfatError<T, O>
impl<T, O> Sync for ExfatError<T, O>
impl<T, O> Unpin for ExfatError<T, O>
impl<T, O> UnwindSafe for ExfatError<T, O>
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