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

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

Set file attributes.

When the setting of attribute values succeeds, the filesystem replies its value to the kernel using ReplyAttr.

Implementations

impl<'op> Setattr<'op>[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<SetAttrTime>[src]

Return the last accessed time to be set.

pub fn mtime(&self) -> Option<SetAttrTime>[src]

Return the last modified time to be set.

pub fn ctime(&self) -> Option<Duration>[src]

Return the last creation time to be set.

pub fn lock_owner(&self) -> Option<LockOwner>[src]

Return the identifier of lock owner.

Trait Implementations

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

Auto Trait Implementations

impl<'op> RefUnwindSafe for Setattr<'op>[src]

impl<'op> Send for Setattr<'op>[src]

impl<'op> Sync for Setattr<'op>[src]

impl<'op> Unpin for Setattr<'op>[src]

impl<'op> UnwindSafe for Setattr<'op>[src]

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> Instrument 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.