#[non_exhaustive]pub struct FsTreeRoot {
pub bytenr: u64,
pub level: u8,
pub root_dirid: u64,
pub generation: u64,
}Expand description
The FS_TREE root as located in the root tree: where the FS tree’s own root node lives and how deep it is.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bytenr: u64bytenr — the FS_TREE root node’s logical address.
level: u8level — the FS_TREE root node’s B-tree level (0 = a single leaf).
root_dirid: u64root_dirid — the FS tree’s root directory objectid (256).
generation: u64generation — the transaction id the FS tree root was written in.
Trait Implementations§
Source§impl Clone for FsTreeRoot
impl Clone for FsTreeRoot
Source§fn clone(&self) -> FsTreeRoot
fn clone(&self) -> FsTreeRoot
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 FsTreeRoot
Source§impl Debug for FsTreeRoot
impl Debug for FsTreeRoot
impl Eq for FsTreeRoot
Source§impl PartialEq for FsTreeRoot
impl PartialEq for FsTreeRoot
impl StructuralPartialEq for FsTreeRoot
Auto Trait Implementations§
impl Freeze for FsTreeRoot
impl RefUnwindSafe for FsTreeRoot
impl Send for FsTreeRoot
impl Sync for FsTreeRoot
impl Unpin for FsTreeRoot
impl UnsafeUnpin for FsTreeRoot
impl UnwindSafe for FsTreeRoot
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