pub struct KillSwitchWatcher { /* private fields */ }Expand description
Derived from a KillSwitch, allows to check if the kill switch is still alive, but cannot
activate it. This may be useful in separating out a thread which is only watching the value of
the kill switch.
Implementations§
Trait Implementations§
Source§impl Clone for KillSwitchWatcher
impl Clone for KillSwitchWatcher
Source§fn clone(&self) -> KillSwitchWatcher
fn clone(&self) -> KillSwitchWatcher
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KillSwitchWatcher
impl Debug for KillSwitchWatcher
Auto Trait Implementations§
impl Freeze for KillSwitchWatcher
impl RefUnwindSafe for KillSwitchWatcher
impl Send for KillSwitchWatcher
impl Sync for KillSwitchWatcher
impl Unpin for KillSwitchWatcher
impl UnsafeUnpin for KillSwitchWatcher
impl UnwindSafe for KillSwitchWatcher
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