pub struct Cancellable { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<I> Cancellation<I> for Cancellable
impl<I> Cancellation<I> for Cancellable
type Output = Option<I>
fn is_cancellable(&self) -> bool
fn is_cancelling(&self) -> bool
fn set_cancelling(&mut self, is_it: bool)
fn make_output(&self, item: I) -> Self::Output
Source§impl Clone for Cancellable
impl Clone for Cancellable
Source§fn clone(&self) -> Cancellable
fn clone(&self) -> Cancellable
Returns a copy 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 Cancellable
impl Debug for Cancellable
Source§impl Default for Cancellable
impl Default for Cancellable
Source§fn default() -> Cancellable
fn default() -> Cancellable
Returns the “default value” for a type. Read more
Source§impl PartialEq for Cancellable
impl PartialEq for Cancellable
impl Copy for Cancellable
impl StructuralPartialEq for Cancellable
Auto Trait Implementations§
impl Freeze for Cancellable
impl RefUnwindSafe for Cancellable
impl Send for Cancellable
impl Sync for Cancellable
impl Unpin for Cancellable
impl UnwindSafe for Cancellable
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