pub struct XAttrEntry {
pub name_len: u8,
pub name_index: u8,
pub value_offset: u16,
pub value_inum: u32,
pub value_size: u32,
pub hash: u32,
}Expand description
On-disk extended-attribute entry. The name bytes follow immediately after this header, then padding to a 4-byte boundary.
Fields§
§name_len: u8Length of the attribute name.
name_index: u8Attribute name index (e.g. 1 = “user.”, 2 = “system.posix_acl_access”).
value_offset: u16Offset of the value within the value area (from end of entry table).
value_inum: u32Inode holding the value (0 when value is inline in this block).
value_size: u32Size of the attribute value in bytes.
hash: u32Hash of the attribute name and value.
Implementations§
Trait Implementations§
Source§impl Clone for XAttrEntry
impl Clone for XAttrEntry
Source§fn clone(&self) -> XAttrEntry
fn clone(&self) -> XAttrEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for XAttrEntry
impl Debug for XAttrEntry
Source§impl Default for XAttrEntry
impl Default for XAttrEntry
Source§fn default() -> XAttrEntry
fn default() -> XAttrEntry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for XAttrEntry
impl RefUnwindSafe for XAttrEntry
impl Send for XAttrEntry
impl Sync for XAttrEntry
impl Unpin for XAttrEntry
impl UnsafeUnpin for XAttrEntry
impl UnwindSafe for XAttrEntry
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