Enum fatfs::FatfsError
source · 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)>
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