Enum btrfs_diskformat::ExtentInlineRefType [−][src]
The type of ExtentInlineRef
.
Variants
The reference is indirect for a tree block.
offset
contains the object ID of the tree root that allocated the block.
The reference is shared for a tree block.
offset
contains the byte offset of the node one level above in the tree where this block
is located.
The reference is indirect for a data extent.
An ExtentDataRef
is located immediately after the type
field and overlaps the unused
offset
field.
The reference is shared for a data extent.
offset
contains the byte offset of the metadata that contains the extent data item that
describes this extent.
Immediately following offset
(and the end of ExtentInlineRef
structure) is a
SharedDataRef
that contains the reference count.
Trait Implementations
impl Clone for ExtentInlineRefType
[src]
fn clone(&self) -> ExtentInlineRefType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ExtentInlineRefType
[src]
impl Debug for ExtentInlineRefType
[src]
impl Hash for ExtentInlineRefType
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl IntoEnumIterator for ExtentInlineRefType
[src]
type Iterator = ExtentInlineRefTypeIter
fn iter() -> ExtentInlineRefTypeIterⓘNotable traits for ExtentInlineRefTypeIter
impl Iterator for ExtentInlineRefTypeIter type Item = ExtentInlineRefType;
[src]
Notable traits for ExtentInlineRefTypeIter
impl Iterator for ExtentInlineRefTypeIter type Item = ExtentInlineRefType;
impl PartialEq<ExtentInlineRefType> for ExtentInlineRefType
[src]
fn eq(&self, other: &ExtentInlineRefType) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for ExtentInlineRefType
[src]
impl TryFrom<u8> for ExtentInlineRefType
[src]
type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
[src]
impl TryFromPrimitive for ExtentInlineRefType
[src]
type Primitive = u8
const NAME: &'static str
[src]
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
[src]
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations
impl RefUnwindSafe for ExtentInlineRefType
impl Send for ExtentInlineRefType
impl Sync for ExtentInlineRefType
impl Unpin for ExtentInlineRefType
impl UnwindSafe for ExtentInlineRefType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,