pub enum UfsVersion {
Ufs1,
Ufs2,
}Expand description
The on-disk UFS version, resolved from the superblock magic.
Variants§
Ufs1
UFS1 — 4.4BSD/FreeBSD legacy: 128-byte inodes, 32-bit block pointers,
primary superblock at byte 8192, magic 0x00011954.
Ufs2
UFS2 — FreeBSD 5+: 256-byte inodes, 64-bit block pointers, birthtime,
primary superblock at byte 65536, magic 0x19540119.
Trait Implementations§
Source§impl Clone for UfsVersion
impl Clone for UfsVersion
Source§fn clone(&self) -> UfsVersion
fn clone(&self) -> UfsVersion
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 UfsVersion
Source§impl Debug for UfsVersion
impl Debug for UfsVersion
impl Eq for UfsVersion
Source§impl PartialEq for UfsVersion
impl PartialEq for UfsVersion
impl StructuralPartialEq for UfsVersion
Auto Trait Implementations§
impl Freeze for UfsVersion
impl RefUnwindSafe for UfsVersion
impl Send for UfsVersion
impl Sync for UfsVersion
impl Unpin for UfsVersion
impl UnsafeUnpin for UfsVersion
impl UnwindSafe for UfsVersion
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