pub struct Setattr<'op> { /* private fields */ }Expand description
Set file attributes.
When the setting of attribute values succeeds, the filesystem replies its value
to the kernel using ReplyAttr.
Implementations§
Source§impl<'op> Setattr<'op>
impl<'op> Setattr<'op>
Sourcepub fn atime(&self) -> Option<SetAttrTime>
pub fn atime(&self) -> Option<SetAttrTime>
Return the last accessed time to be set.
Sourcepub fn mtime(&self) -> Option<SetAttrTime>
pub fn mtime(&self) -> Option<SetAttrTime>
Return the last modified time to be set.
Sourcepub fn lock_owner(&self) -> Option<LockOwner>
pub fn lock_owner(&self) -> Option<LockOwner>
Return the identifier of lock owner.
Trait Implementations§
Auto Trait Implementations§
impl<'op> Freeze for Setattr<'op>
impl<'op> RefUnwindSafe for Setattr<'op>
impl<'op> Send for Setattr<'op>
impl<'op> Sync for Setattr<'op>
impl<'op> Unpin for Setattr<'op>
impl<'op> UnwindSafe for Setattr<'op>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more