#[non_exhaustive]pub enum BlockFormat {
Fat(FatVariant),
PartitionTable(PartitionTableKind),
}Expand description
A recognized block-storage layout.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Fat(FatVariant)
A FAT filesystem occupying the probed device or bounded partition.
PartitionTable(PartitionTableKind)
A disk partition table.
Trait Implementations§
Source§impl Clone for BlockFormat
impl Clone for BlockFormat
Source§fn clone(&self) -> BlockFormat
fn clone(&self) -> BlockFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BlockFormat
Source§impl Debug for BlockFormat
impl Debug for BlockFormat
impl Eq for BlockFormat
Source§impl PartialEq for BlockFormat
impl PartialEq for BlockFormat
impl StructuralPartialEq for BlockFormat
Auto Trait Implementations§
impl Freeze for BlockFormat
impl RefUnwindSafe for BlockFormat
impl Send for BlockFormat
impl Sync for BlockFormat
impl Unpin for BlockFormat
impl UnsafeUnpin for BlockFormat
impl UnwindSafe for BlockFormat
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