Struct ext4_read_only::structs::XattrEntryHeader
source · #[repr(C)]pub struct XattrEntryHeader {
pub e_name_len: u8,
pub e_name_index: u8,
pub e_value_offs: U16,
pub e_value_inum: U32,
pub e_value_size: U32,
pub e_hash: U32,
}
Fields§
§e_name_len: u8
§e_name_index: u8
§e_value_offs: U16
§e_value_inum: U32
§e_value_size: U32
§e_hash: U32
Trait Implementations§
source§impl Debug for XattrEntryHeader
impl Debug for XattrEntryHeader
source§impl FromBytes for XattrEntryHeaderwhere
u8: FromBytes,
U16: FromBytes,
U32: FromBytes,
impl FromBytes for XattrEntryHeaderwhere
u8: FromBytes,
U16: FromBytes,
U32: FromBytes,
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl FromZeros for XattrEntryHeaderwhere
u8: FromZeros,
U16: FromZeros,
U32: FromZeros,
impl FromZeros for XattrEntryHeaderwhere
u8: FromZeros,
U16: FromZeros,
U32: FromZeros,
impl Unaligned for XattrEntryHeaderwhere
u8: Unaligned,
U16: Unaligned,
U32: Unaligned,
Auto Trait Implementations§
impl Freeze for XattrEntryHeader
impl RefUnwindSafe for XattrEntryHeader
impl Send for XattrEntryHeader
impl Sync for XattrEntryHeader
impl Unpin for XattrEntryHeader
impl UnwindSafe for XattrEntryHeader
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