pub struct Attributes {
pub own: Option<Vec<Attribute>>,
pub pointee: Option<Vec<Attribute>>,
}Expand description
The extended attributes recorded with a path whose attributes a step read or listed: those of the path itself and, for a symbolic link, those of what it points to, each sorted by name. A file system without attributes records none.
Fields§
§own: Option<Vec<Attribute>>The path’s own attributes, without following a final symbolic link, sorted
by name, or None when they could not be read, as when nothing is at the
path.
pointee: Option<Vec<Attribute>>For a symbolic link, the attributes of what it points to, following every
link, sorted by name; None for a path that is not a symbolic link, or when
they could not be read, as for a link that points to nothing.
Trait Implementations§
Source§impl Clone for Attributes
impl Clone for Attributes
Source§impl Debug for Attributes
impl Debug for Attributes
Source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for Attributes
impl<'bytes, Ctx> Decode<'bytes, Ctx> for Attributes
Source§impl<Ctx> Encode<Ctx> for Attributes
impl<Ctx> Encode<Ctx> for Attributes
impl Eq for Attributes
Source§impl Hash for Attributes
impl Hash for Attributes
Source§impl PartialEq for Attributes
impl PartialEq for Attributes
impl StructuralPartialEq for Attributes
Auto Trait Implementations§
impl Freeze for Attributes
impl RefUnwindSafe for Attributes
impl Send for Attributes
impl Sync for Attributes
impl Unpin for Attributes
impl UnsafeUnpin for Attributes
impl UnwindSafe for Attributes
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.