Skip to main content

WatcherGuard

Trait WatcherGuard 

Source
pub trait WatcherGuard: 'static { }
Expand description

A guard that ensures proper cleanup of watchers when dropped.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

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§