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§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Xattr
impl Send for Xattr
impl Sync for Xattr
impl Unpin 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