pub struct NeverInterrupt;Expand description
Cancellation source that never interrupts.
Trait Implementations§
Source§impl AlgorithmInterrupt for NeverInterrupt
impl AlgorithmInterrupt for NeverInterrupt
Source§fn is_cancelled(&self) -> bool
fn is_cancelled(&self) -> bool
Returns true when the active computation should stop.
Source§impl Clone for NeverInterrupt
impl Clone for NeverInterrupt
Source§fn clone(&self) -> NeverInterrupt
fn clone(&self) -> NeverInterrupt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NeverInterrupt
Source§impl Debug for NeverInterrupt
impl Debug for NeverInterrupt
Source§impl Default for NeverInterrupt
impl Default for NeverInterrupt
Source§fn default() -> NeverInterrupt
fn default() -> NeverInterrupt
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NeverInterrupt
impl RefUnwindSafe for NeverInterrupt
impl Send for NeverInterrupt
impl Sync for NeverInterrupt
impl Unpin for NeverInterrupt
impl UnsafeUnpin for NeverInterrupt
impl UnwindSafe for NeverInterrupt
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