[−][src]Struct polyfuse::Notifier
Implementations
impl Notifier
[src]
pub fn inval_inode(&self, ino: u64, off: i64, len: i64) -> Result<()>
[src]
Notify the cache invalidation about an inode to the kernel.
pub fn inval_entry<T>(&self, parent: u64, name: T) -> Result<()> where
T: AsRef<OsStr>,
[src]
T: AsRef<OsStr>,
Notify the invalidation about a directory entry to the kernel.
pub fn delete<T>(&self, parent: u64, child: u64, name: T) -> Result<()> where
T: AsRef<OsStr>,
[src]
T: AsRef<OsStr>,
Notify the invalidation about a directory entry to the kernel.
The role of this notification is similar to notify_inval_entry
.
Additionally, when the provided child
inode matches the inode
in the dentry cache, the inotify will inform the deletion to
watchers if exists.
pub fn store<T>(&self, ino: u64, offset: u64, data: T) -> Result<()> where
T: Bytes,
[src]
T: Bytes,
Push the data in an inode for updating the kernel cache.
pub fn retrieve(&self, ino: u64, offset: u64, size: u32) -> Result<u64>
[src]
Retrieve data in an inode from the kernel cache.
pub fn poll_wakeup(&self, kh: u64) -> Result<()>
[src]
Send I/O readiness to the kernel.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Notifier
[src]
impl Send for Notifier
[src]
impl Sync for Notifier
[src]
impl Unpin for Notifier
[src]
impl UnwindSafe for Notifier
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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.
pub 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>,