[][src]Struct polyfuse::op::Flush

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

Close a file descriptor.

This operation is issued on each close(2) syscall for a file descriptor.

Do not confuse this operation with Release. Since the file descriptor could be duplicated, the multiple flush operations might be issued for one Open. Also, it is not guaranteed that flush will always be issued after some writes.

Implementations

impl<'op> Flush<'op>[src]

pub fn ino(&self) -> u64[src]

Return the inode number of target file.

pub fn fh(&self) -> u64[src]

Return the handle of opened file.

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

Return the identifier of lock owner.

Trait Implementations

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

Auto Trait Implementations

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

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

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

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

impl<'op> UnwindSafe for Flush<'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.