pub enum FatfsError {
Show 34 variants
BackupBootSectorInvalid,
BadDiskSize,
ClusterFatMismatch,
DirectoryNotEmpty,
FileNameBadCharacter,
FileNameEmpty,
FileNameTooLong,
FsInfoInvalid,
InvalidBootSectorSig,
InvalidBytesPerSector(FatfsNumericError),
InvalidClusterNumber,
InvalidFatType,
InvalidFats,
InvalidFatEntries,
InvalidLeadSig,
InvalidNumClusters,
InvalidReservedSectors,
InvalidSectorsPerCluster(FatfsNumericError),
InvalidSectorsPerFat,
InvalidStrucSig,
InvalidTrailSig,
IsDirectory,
NoSpace,
NonZeroRootEntries,
NonZeroTotalSectors,
NotDirectory,
TooManyClusters,
TooManyReservedSectors,
TooManySectors,
TotalSectorsTooSmall,
UnknownVersion,
VolumeTooSmall,
ZeroRootEntries,
ZeroTotalSectors,
}
Expand description
Error type returned as the inner error for errors with ErrorKind::Other.
Variants§
BackupBootSectorInvalid
BadDiskSize
ClusterFatMismatch
DirectoryNotEmpty
FileNameBadCharacter
FileNameEmpty
FileNameTooLong
FsInfoInvalid
InvalidBootSectorSig
InvalidBytesPerSector(FatfsNumericError)
InvalidClusterNumber
InvalidFatType
InvalidFats
InvalidFatEntries
InvalidLeadSig
InvalidNumClusters
InvalidReservedSectors
InvalidSectorsPerCluster(FatfsNumericError)
InvalidSectorsPerFat
InvalidStrucSig
InvalidTrailSig
IsDirectory
NoSpace
NonZeroRootEntries
NonZeroTotalSectors
NotDirectory
TooManyClusters
TooManyReservedSectors
TooManySectors
TotalSectorsTooSmall
UnknownVersion
VolumeTooSmall
ZeroRootEntries
ZeroTotalSectors
Trait Implementations§
Source§impl Debug for FatfsError
impl Debug for FatfsError
Source§impl Display for FatfsError
impl Display for FatfsError
Source§impl Error for FatfsError
impl Error for FatfsError
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<&FatfsError> for String
impl From<&FatfsError> for String
Source§fn from(error: &FatfsError) -> String
fn from(error: &FatfsError) -> String
Converts to this type from the input type.
Source§impl From<FatfsError> for Error
impl From<FatfsError> for Error
Source§fn from(error: FatfsError) -> Error
fn from(error: FatfsError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FatfsError
impl RefUnwindSafe for FatfsError
impl Send for FatfsError
impl Sync for FatfsError
impl Unpin for FatfsError
impl UnwindSafe for FatfsError
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