pub enum CancelState {
AlreadyCancelled,
Cancelled,
}Variants§
Implementations§
Source§impl CancelState
impl CancelState
pub fn already_cancelled(self) -> bool
pub fn just_cancelled(self) -> bool
Trait Implementations§
Source§impl Clone for CancelState
impl Clone for CancelState
Source§fn clone(&self) -> CancelState
fn clone(&self) -> CancelState
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 CancelState
Source§impl Debug for CancelState
impl Debug for CancelState
impl Eq for CancelState
Source§impl PartialEq for CancelState
impl PartialEq for CancelState
impl StructuralPartialEq for CancelState
Auto Trait Implementations§
impl Freeze for CancelState
impl RefUnwindSafe for CancelState
impl Send for CancelState
impl Sync for CancelState
impl Unpin for CancelState
impl UnsafeUnpin for CancelState
impl UnwindSafe for CancelState
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