WatcherGuard

Trait WatcherGuard 

Source
pub trait WatcherGuard: 'static { }
Expand description

A guard that ensures proper cleanup of watchers when dropped.

Implementations on Foreign Types§

Source§

impl WatcherGuard for ()

Source§

impl<T1: WatcherGuard, T2: WatcherGuard> WatcherGuard for (T1, T2)

Source§

impl<T: 'static> WatcherGuard for Option<T>

Source§

impl<T: WatcherGuard + ?Sized> WatcherGuard for Box<T>

Source§

impl<T: WatcherGuard + ?Sized> WatcherGuard for Rc<T>

Source§

impl<T: WatcherGuard, E: WatcherGuard> WatcherGuard for Result<T, E>

Implementors§