pub struct KillSwitch(/* private fields */);Expand description
Operator-controlled stop for local attempts.
Implementations§
Trait Implementations§
Source§impl Clone for KillSwitch
impl Clone for KillSwitch
Source§fn clone(&self) -> KillSwitch
fn clone(&self) -> KillSwitch
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 KillSwitch
impl Debug for KillSwitch
Source§impl Default for KillSwitch
impl Default for KillSwitch
Source§fn default() -> KillSwitch
fn default() -> KillSwitch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KillSwitch
impl RefUnwindSafe for KillSwitch
impl Send for KillSwitch
impl Sync for KillSwitch
impl Unpin for KillSwitch
impl UnsafeUnpin for KillSwitch
impl UnwindSafe for KillSwitch
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