[][src]Struct polyfuse::op::Setattr

pub struct Setattr<'a> { /* fields omitted */ }

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

impl<'_> Debug for Setattr<'_>[src]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.