pub struct Notifier(/* private fields */);
Expand description
A handle by which the application can send notifications to the server
Implementations§
Source§impl Notifier
impl Notifier
Sourcepub fn inval_entry(&self, parent: u64, name: &OsStr) -> Result<()>
pub fn inval_entry(&self, parent: u64, name: &OsStr) -> Result<()>
Invalidate the kernel cache for a given directory entry
Sourcepub fn inval_inode(&self, ino: u64, offset: i64, len: i64) -> Result<()>
pub fn inval_inode(&self, ino: u64, offset: i64, len: i64) -> Result<()>
Invalidate the kernel cache for a given inode (metadata and data in the given range)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Notifier
impl RefUnwindSafe for Notifier
impl Send for Notifier
impl Sync for Notifier
impl Unpin for Notifier
impl UnwindSafe for Notifier
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more