[][src]Struct polyfuse::reply::ReplyOpen

#[must_use]
pub struct ReplyOpen(_);

Reply with an opened file.

Methods

impl ReplyOpen[src]

pub fn new(fh: u64) -> Self[src]

Create a new ReplyOpen.

pub fn fh(&mut self, fh: u64) -> &mut Self[src]

Set the file handle.

pub fn direct_io(&mut self, enabled: bool) -> &mut Self[src]

Indicates that the direct I/O is used on this file.

pub fn keep_cache(&mut self, enabled: bool) -> &mut Self[src]

Indicates that the currently cached file data in the kernel need not be invalidated.

pub fn nonseekable(&mut self, enabled: bool) -> &mut Self[src]

Indicates that the opened file is not seekable.

pub fn cache_dir(&mut self, enabled: bool) -> &mut Self[src]

Enable caching of entries returned by readdir.

This flag is meaningful only for opendir operations.

Trait Implementations

impl AsRef<ReplyOpen> for ReplyOpen[src]

impl Debug for ReplyOpen[src]

impl Reply for ReplyOpen[src]

Auto Trait Implementations

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.