pub struct Watch { /* private fields */ }Expand description
An owned subscription.
Dropping it cancels; see the module docs for why that makes #[must_use]
load-bearing rather than decorative.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Watch
impl !UnwindSafe for Watch
impl Forget for Watch
impl Freeze for Watch
impl Move for Watch
impl Send for Watch
impl Sync for Watch
impl Unpin for Watch
impl UnsafeUnpin for Watch
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