pub struct CooperativeCancellationRequested {
pub request: CancellationRequest,
pub delivery: CancellationDelivery,
}Expand description
Cancellation delivered at its committed authored call, with original identity.
Fields§
§request: CancellationRequest§delivery: CancellationDeliveryTrait Implementations§
Source§impl Clone for CooperativeCancellationRequested
impl Clone for CooperativeCancellationRequested
Source§fn clone(&self) -> CooperativeCancellationRequested
fn clone(&self) -> CooperativeCancellationRequested
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 Error for CooperativeCancellationRequested
impl Error for CooperativeCancellationRequested
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for CooperativeCancellationRequested
impl PartialEq for CooperativeCancellationRequested
Source§fn eq(&self, other: &CooperativeCancellationRequested) -> bool
fn eq(&self, other: &CooperativeCancellationRequested) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CooperativeCancellationRequested
impl StructuralPartialEq for CooperativeCancellationRequested
Auto Trait Implementations§
impl Freeze for CooperativeCancellationRequested
impl RefUnwindSafe for CooperativeCancellationRequested
impl Send for CooperativeCancellationRequested
impl Sync for CooperativeCancellationRequested
impl Unpin for CooperativeCancellationRequested
impl UnwindSafe for CooperativeCancellationRequested
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