pub enum ExfatFormatError<T: UnixEpochDuration> {
InvalidBytesPerSector(u16),
InvalidSize(u64),
InvalidPartitionOffset(u64),
InvalidNumberOfFats(u8),
InvlaidClusterSize(u32),
BoundaryAlignemntTooBig(u32),
NoSerial(T::Err),
CannotPackBitmap,
InvalidFileSize,
}Variants§
InvalidBytesPerSector(u16)
InvalidSize(u64)
InvalidPartitionOffset(u64)
InvalidNumberOfFats(u8)
InvlaidClusterSize(u32)
BoundaryAlignemntTooBig(u32)
NoSerial(T::Err)
CannotPackBitmap
InvalidFileSize
Trait Implementations§
Source§impl<T: UnixEpochDuration> Display for ExfatFormatError<T>where
T::Err: Display,
impl<T: UnixEpochDuration> Display for ExfatFormatError<T>where
T::Err: Display,
Source§impl<T: UnixEpochDuration> Error for ExfatFormatError<T>
impl<T: UnixEpochDuration> Error for ExfatFormatError<T>
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> Freeze for ExfatFormatError<T>where
<T as UnixEpochDuration>::Err: Freeze,
impl<T> RefUnwindSafe for ExfatFormatError<T>where
<T as UnixEpochDuration>::Err: RefUnwindSafe,
impl<T> Send for ExfatFormatError<T>where
<T as UnixEpochDuration>::Err: Send,
impl<T> Sync for ExfatFormatError<T>where
<T as UnixEpochDuration>::Err: Sync,
impl<T> Unpin for ExfatFormatError<T>where
<T as UnixEpochDuration>::Err: Unpin,
impl<T> UnwindSafe for ExfatFormatError<T>where
<T as UnixEpochDuration>::Err: UnwindSafe,
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