Struct btrfs::diskformat::BtrfsExtentData
[−]
[src]
pub struct BtrfsExtentData<'a> { /* fields omitted */ }
Methods
impl<'a> BtrfsExtentData<'a>
[src]
fn from_bytes(
header: &'a BtrfsLeafItemHeader,
data_bytes: &'a [u8]
) -> Result<BtrfsExtentData<'a>, String>
header: &'a BtrfsLeafItemHeader,
data_bytes: &'a [u8]
) -> Result<BtrfsExtentData<'a>, String>
fn header(&self) -> &BtrfsLeafItemHeader
fn key(&self) -> BtrfsKey
fn object_id(&self) -> u64
fn offset(&self) -> u64
fn data(&self) -> &BtrfsExtentDataData
fn generation(&self) -> u64
fn logical_data_size(&self) -> u64
fn compression(&self) -> u8
fn encryption(&self) -> u8
fn other_encoding(&self) -> u16
fn extent_type(&self) -> u8
fn logical_address(&self) -> u64
fn extent_size(&self) -> u64
fn extent_offset(&self) -> u64
fn logical_bytes(&self) -> u64
fn inline(&self) -> bool
fn inline_data(&self) -> Result<Option<Cow<[u8]>>, String>
Trait Implementations
impl<'a> Copy for BtrfsExtentData<'a>
[src]
impl<'a> Clone for BtrfsExtentData<'a>
[src]
fn clone(&self) -> BtrfsExtentData<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> Debug for BtrfsExtentData<'a>
[src]
impl<'a> Eq for BtrfsExtentData<'a>
[src]
impl<'a> Hash for BtrfsExtentData<'a>
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<'a> Ord for BtrfsExtentData<'a>
[src]
fn cmp(&self, __arg_0: &BtrfsExtentData<'a>) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl<'a> PartialEq for BtrfsExtentData<'a>
[src]
fn eq(&self, __arg_0: &BtrfsExtentData<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BtrfsExtentData<'a>) -> bool
This method tests for !=
.
impl<'a> PartialOrd for BtrfsExtentData<'a>
[src]
fn partial_cmp(&self, __arg_0: &BtrfsExtentData<'a>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &BtrfsExtentData<'a>) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &BtrfsExtentData<'a>) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &BtrfsExtentData<'a>) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &BtrfsExtentData<'a>) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more