[−][src]Struct polyfuse::reply::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
Auto Trait Implementations
impl RefUnwindSafe for ReplyOpen
impl Send for ReplyOpen
impl Sync for ReplyOpen
impl Unpin for ReplyOpen
impl UnwindSafe for ReplyOpen
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>,