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§impl Debug for CancellationDelivery
impl Debug for CancellationDelivery
impl Eq for CancellationDelivery
Source§impl PartialEq for CancellationDelivery
impl PartialEq for CancellationDelivery
impl StructuralPartialEq for CancellationDelivery
Auto Trait Implementations§
impl Forget for CancellationDelivery
impl Freeze for CancellationDelivery
impl Move for CancellationDelivery
impl RefUnwindSafe for CancellationDelivery
impl Send for CancellationDelivery
impl Sync for CancellationDelivery
impl Unpin for CancellationDelivery
impl UnsafeUnpin 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