pub enum Xattr {
Size(u32),
Data(Vec<u8>),
}Expand description
Represents the return value from the listxattr and getxattr calls, which can be either a
size or contain data, depending on how they are called.
Variants§
Size(u32)
Size needed to read the attribute value or name list.
Data(Vec<u8>)
Attribute data or null-terminated attribute name list.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Xattr
impl RefUnwindSafe for Xattr
impl Send for Xattr
impl Sync for Xattr
impl Unpin for Xattr
impl UnsafeUnpin for Xattr
impl UnwindSafe for Xattr
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