pub struct CancellationDelivery {
pub request_id: String,
pub sequence: u64,
pub call_kind: CancellationCallKind,
pub sequence_span: u64,
pub operation_sequence: Option<u64>,
pub operation_sequence_span: u64,
}Expand description
One committed delivery marker, bound to the original cancellation request.
Fields§
§request_id: String§sequence: u64§call_kind: CancellationCallKind§sequence_span: u64§operation_sequence: Option<u64>§operation_sequence_span: u64Implementations§
Source§impl CancellationDelivery
impl CancellationDelivery
Sourcepub fn interrupts(&self, sequence: u64) -> bool
pub fn interrupts(&self, sequence: u64) -> bool
Whether a sequence belongs to the canonical interrupted operation range.
Trait Implementations§
Source§impl Clone for CancellationDelivery
impl Clone for CancellationDelivery
Source§fn clone(&self) -> CancellationDelivery
fn clone(&self) -> CancellationDelivery
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 CancellationDelivery
impl Debug for CancellationDelivery
Source§impl PartialEq for CancellationDelivery
impl PartialEq for CancellationDelivery
impl Eq for CancellationDelivery
impl StructuralPartialEq for CancellationDelivery
Auto Trait Implementations§
impl Freeze for CancellationDelivery
impl RefUnwindSafe for CancellationDelivery
impl Send for CancellationDelivery
impl Sync for CancellationDelivery
impl Unpin for CancellationDelivery
impl UnwindSafe for CancellationDelivery
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