pub struct NeverInterrupt;Expand description
Interrupt source that never cancels.
Trait Implementations§
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
Source§impl SearchInterrupt for NeverInterrupt
impl SearchInterrupt for NeverInterrupt
Source§fn is_cancelled(&self) -> bool
fn is_cancelled(&self) -> bool
Return true when the caller wants the run to stop with a cancellation
receipt.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more