#[non_exhaustive]pub struct Xattr {
pub name: String,
pub flags: u16,
pub value: XattrValue,
}Expand description
A parsed extended attribute.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe attribute name (e.g. com.apple.decmpfs).
flags: u16The raw j_xattr_val_t.flags word.
value: XattrValueThe attribute value (embedded bytes or a stream reference).
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