Struct ext4_read_only::structs::XattrHeader
source · #[repr(C)]pub struct XattrHeader {
pub e_magic: U32,
pub e_refcount: U32,
pub e_blocks: U32,
pub e_hash: U32,
pub e_checksum: U32,
/* private fields */
}
Fields§
§e_magic: U32
§e_refcount: U32
§e_blocks: U32
§e_hash: U32
§e_checksum: U32
Trait Implementations§
source§impl Debug for XattrHeader
impl Debug for XattrHeader
source§impl FromBytes for XattrHeader
impl FromBytes for XattrHeader
§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 XattrHeader
impl FromZeros for XattrHeader
impl Unaligned for XattrHeader
Auto Trait Implementations§
impl Freeze for XattrHeader
impl RefUnwindSafe for XattrHeader
impl Send for XattrHeader
impl Sync for XattrHeader
impl Unpin for XattrHeader
impl UnwindSafe for XattrHeader
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