pub struct NoopBackend;Trait Implementations§
Source§impl BackendHandle for NoopBackend
impl BackendHandle for NoopBackend
Source§fn add_dir(&self, _dir: &Path) -> bool
fn add_dir(&self, _dir: &Path) -> bool
Arm a watch on a directory about to be enumerated.
false means
watch descriptors are exhausted: the caller closes the root rather
than serve a mirror with a silently stale subtree in it.Source§fn watch_outside(&self, _dir: &Path)
fn watch_outside(&self, _dir: &Path)
Arm a directory outside the synced tree, because it holds an
ignore source the matcher consulted. Unlike
BackendHandle::add_dir
this is not covered by a recursive root watch, so every filtered
root needs it however the tree itself is watched.Source§fn remove_dir(&self, _dir: &Path)
fn remove_dir(&self, _dir: &Path)
Disarm a directory and everything under it — deleted, or newly
excluded.
Auto Trait Implementations§
impl Freeze for NoopBackend
impl RefUnwindSafe for NoopBackend
impl Send for NoopBackend
impl Sync for NoopBackend
impl Unpin for NoopBackend
impl UnsafeUnpin for NoopBackend
impl UnwindSafe for NoopBackend
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