pub struct FileAccessHookRegistry { /* private fields */ }Expand description
File access hook registry
Implementations§
Source§impl FileAccessHookRegistry
impl FileAccessHookRegistry
pub fn new() -> Self
pub fn register(&mut self, hook: Box<dyn FileAccessHook>)
pub fn notify(&self, event: FileAccessEvent)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileAccessHookRegistry
impl !RefUnwindSafe for FileAccessHookRegistry
impl Send for FileAccessHookRegistry
impl Sync for FileAccessHookRegistry
impl Unpin for FileAccessHookRegistry
impl UnsafeUnpin for FileAccessHookRegistry
impl !UnwindSafe for FileAccessHookRegistry
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