pub struct CancelOptions {
pub force: bool,
}Expand description
Options for the cancel operation.
Fields§
§force: boolWhether to proceed even if the spec is already cancelled.
Trait Implementations§
Source§impl Clone for CancelOptions
impl Clone for CancelOptions
Source§fn clone(&self) -> CancelOptions
fn clone(&self) -> CancelOptions
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 CancelOptions
impl Debug for CancelOptions
Source§impl Default for CancelOptions
impl Default for CancelOptions
Source§fn default() -> CancelOptions
fn default() -> CancelOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CancelOptions
impl RefUnwindSafe for CancelOptions
impl Send for CancelOptions
impl Sync for CancelOptions
impl Unpin for CancelOptions
impl UnwindSafe for CancelOptions
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