#[non_exhaustive]pub struct Ea {
pub name: String,
pub value: Vec<u8>,
pub needed: bool,
}Expand description
One extended attribute of a file or directory (MS-FSCC 2.4.16). Built
with Ea::new; every field is public.
The protocol layer passes backends only names of 1 to 254 bytes of
UTF-8 without control characters or any of \ / : * ? " < > | , + = [ ] ;. Names compare without regard to ASCII case.
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: String§value: Vec<u8>The value. Setting an empty value removes the attribute; a listed attribute has a value.
needed: boolFILE_NEED_EA: the file cannot be read by applications that do not understand extended attributes, and a CREATE with FILE_NO_EA_KNOWLEDGE fails on it.
Implementations§
Trait Implementations§
impl Eq for Ea
impl StructuralPartialEq for Ea
Auto Trait Implementations§
impl Forget for Ea
impl Freeze for Ea
impl Move for Ea
impl RefUnwindSafe for Ea
impl Send for Ea
impl Sync for Ea
impl Unpin for Ea
impl UnsafeUnpin for Ea
impl UnwindSafe for Ea
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