[−][src]Struct polyfuse::op::Setattr
Set file attributes.
When the setting of attribute values succeeds, the filesystem replies its value
to the kernel using ReplyAttr
.
Methods
impl<'a> Setattr<'a>
[src]
pub fn ino(&self) -> u64
[src]
Return the inode number to be set the attribute values.
pub fn fh(&self) -> Option<u64>
[src]
Return the handle of opened file, if specified.
pub fn mode(&self) -> Option<u32>
[src]
Return the file mode to be set.
pub fn uid(&self) -> Option<u32>
[src]
Return the user id to be set.
pub fn gid(&self) -> Option<u32>
[src]
Return the group id to be set.
pub fn size(&self) -> Option<u64>
[src]
Return the size of the file content to be set.
pub fn atime(&self) -> Option<SystemTime>
[src]
Return the last accessed time to be set.
pub fn atime_raw(&self) -> Option<(u64, u32, bool)>
[src]
Return the last accessed time to be set, in raw form.
pub fn mtime(&self) -> Option<SystemTime>
[src]
Return the last modified time to be set.
pub fn mtime_raw(&self) -> Option<(u64, u32, bool)>
[src]
Return the last modified time to be set, in raw form.
pub fn ctime(&self) -> Option<SystemTime>
[src]
Return the last creation time to be set.
pub fn ctime_raw(&self) -> Option<(u64, u32)>
[src]
Return the last creation time to be set, in raw form.
pub fn lock_owner_id(&self) -> Option<LockOwner>
[src]
Return the identifier of lock owner.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Setattr<'a>
impl<'a> Send for Setattr<'a>
impl<'a> Sync for Setattr<'a>
impl<'a> Unpin for Setattr<'a>
impl<'a> UnwindSafe for Setattr<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,