pub struct RuleWatcher { /* private fields */ }Expand description
Live config-file watcher for the rules directory.
Kept alive for as long as the caller holds this handle. Dropping it stops the watcher and the background translation thread exits when its channel closes.
Auto Trait Implementations§
impl Freeze for RuleWatcher
impl RefUnwindSafe for RuleWatcher
impl Send for RuleWatcher
impl Sync for RuleWatcher
impl Unpin for RuleWatcher
impl UnsafeUnpin for RuleWatcher
impl UnwindSafe for RuleWatcher
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