pub struct InspectableGuard<'a, V, W>where
W: Watch<V>,{ /* private fields */ }
Expand description
Calls self.watcher.watch(self.value) when dropped.
Trait Implementations§
Source§impl<'a, V, W> Deref for InspectableGuard<'a, V, W>where
W: Watch<V>,
impl<'a, V, W> Deref for InspectableGuard<'a, V, W>where
W: Watch<V>,
Source§impl<'a, V, W> DerefMut for InspectableGuard<'a, V, W>where
W: Watch<V>,
impl<'a, V, W> DerefMut for InspectableGuard<'a, V, W>where
W: Watch<V>,
Auto Trait Implementations§
impl<'a, V, W> Freeze for InspectableGuard<'a, V, W>
impl<'a, V, W> RefUnwindSafe for InspectableGuard<'a, V, W>where
V: RefUnwindSafe,
W: RefUnwindSafe,
impl<'a, V, W> Send for InspectableGuard<'a, V, W>
impl<'a, V, W> Sync for InspectableGuard<'a, V, W>
impl<'a, V, W> Unpin for InspectableGuard<'a, V, W>
impl<'a, V, W> !UnwindSafe for InspectableGuard<'a, V, W>
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