pub struct Notify { /* private fields */ }
Expand description
notify kernel there are something need to handle.
Implementations§
Source§impl Notify
impl Notify
Sourcepub async fn wakeup(self, kh: u64)
pub async fn wakeup(self, kh: u64)
try to notify kernel the IO is ready, kernel can wakeup the waiting program.
Sourcepub async fn invalid_inode(self, inode: u64, offset: i64, len: i64)
pub async fn invalid_inode(self, inode: u64, offset: i64, len: i64)
try to notify the cache invalidation about an inode.
Sourcepub async fn invalid_entry(self, parent: u64, name: OsString)
pub async fn invalid_entry(self, parent: u64, name: OsString)
try to notify the invalidation about a directory entry.
Sourcepub async fn delete(self, parent: u64, child: u64, name: OsString)
pub async fn delete(self, parent: u64, child: u64, name: OsString)
try to notify a directory entry has been deleted.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Notify
impl !RefUnwindSafe for Notify
impl Send for Notify
impl Sync for Notify
impl Unpin for Notify
impl !UnwindSafe for Notify
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