pub enum DiskError {
IoError,
InvalidGpt,
NoFreeSpace,
PartitionNotFound,
InvalidSize,
FormatError,
WriteOverflow,
InvalidParameter,
NotSupported,
ManifestError,
BufferTooSmall,
}Expand description
Disk operation error types
Variants§
IoError
I/O error during read/write
InvalidGpt
Invalid GPT header or partition table
NoFreeSpace
No free space for partition
PartitionNotFound
Partition not found
InvalidSize
Invalid partition size
FormatError
FAT32 format error
WriteOverflow
Write overflow (exceeded partition bounds)
InvalidParameter
Invalid parameter
NotSupported
Operation not supported
ManifestError
Manifest error
BufferTooSmall
Buffer too small
Trait Implementations§
impl Copy for DiskError
impl Eq for DiskError
impl StructuralPartialEq for DiskError
Auto Trait Implementations§
impl Freeze for DiskError
impl RefUnwindSafe for DiskError
impl Send for DiskError
impl Sync for DiskError
impl Unpin for DiskError
impl UnwindSafe for DiskError
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