pub struct CancellationRequest { /* private fields */ }Expand description
Cancellation request visible at the runtime boundary.
Implementations§
Trait Implementations§
Source§impl Clone for CancellationRequest
impl Clone for CancellationRequest
Source§fn clone(&self) -> CancellationRequest
fn clone(&self) -> CancellationRequest
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 moreSource§impl Debug for CancellationRequest
impl Debug for CancellationRequest
Source§impl PartialEq for CancellationRequest
impl PartialEq for CancellationRequest
Source§fn eq(&self, other: &CancellationRequest) -> bool
fn eq(&self, other: &CancellationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CancellationRequest
impl StructuralPartialEq for CancellationRequest
Auto Trait Implementations§
impl Freeze for CancellationRequest
impl RefUnwindSafe for CancellationRequest
impl Send for CancellationRequest
impl Sync for CancellationRequest
impl Unpin for CancellationRequest
impl UnsafeUnpin for CancellationRequest
impl UnwindSafe for CancellationRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).