#[repr(u64)]pub enum TreeId {
Show 13 variants
RootTree = 1,
ExtentTree = 2,
ChunkTree = 3,
DevTree = 4,
FsTree = 5,
RootTreeDir = 6,
CsumTree = 7,
QuotaTree = 8,
UuidTree = 9,
FreeSpaceTree = 10,
BlockGroupTree = 11,
RaidStripeTree = 12,
RemapTree = 13,
}Expand description
Represents a tree in the BTRFS filesystem.
Argument for SearchKeyBuilder::tree(), which will determine what tree will be searched by
the query() method
Note: documenation for fields has been taken verbatum from the Linux Kernel at, btrfs_tree.h
Variants§
RootTree = 1
Holds pointers to all of the tree roots.
ExtentTree = 2
Stores information about which extents are in use, and reference counts.
ChunkTree = 3
Chunk tree stores translations from logical -> physical block numbering. The super block points to the chunk tree.
DevTree = 4
Stores information about which areas of a given device are in use. One per device. The tree of tree roots points to the device tree.
FsTree = 5
One per subvolume, storing files and directories.
RootTreeDir = 6
Directory objectid inside the root tree.
CsumTree = 7
Holds checksums of all the data extents.
QuotaTree = 8
Holds quota configuration and tracking.
UuidTree = 9
For storing items that use the BTRFS_UUID_KEY* types.
FreeSpaceTree = 10
Tracks free space in block groups.
BlockGroupTree = 11
Holds the block group items for extent tree v2.
RaidStripeTree = 12
Tracks RAID stripes in block groups.
RemapTree = 13
Holds details of remapped addresses after relocation.
Trait Implementations§
impl Copy for TreeId
Source§impl PartialOrd<TreeId> for u64
impl PartialOrd<TreeId> for u64
Auto Trait Implementations§
impl Freeze for TreeId
impl RefUnwindSafe for TreeId
impl Send for TreeId
impl Sync for TreeId
impl Unpin for TreeId
impl UnsafeUnpin for TreeId
impl UnwindSafe for TreeId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more