pub struct FencedDispatch { /* private fields */ }Expand description
Durable performer handoff bound to an exact grant, attempt, and fenced lease.
Implementations§
Source§impl FencedDispatch
impl FencedDispatch
Sourcepub const fn id(&self) -> &FencedDispatchId
pub const fn id(&self) -> &FencedDispatchId
Returns the dispatch identity supplied as the performer idempotency token.
Sourcepub const fn operation(&self) -> &OperationId
pub const fn operation(&self) -> &OperationId
Returns the stable semantic operation identity.
Sourcepub const fn grant(&self) -> &OperationGrantId
pub const fn grant(&self) -> &OperationGrantId
Returns the separately persisted least-authority grant identity.
Sourcepub const fn attempt(&self) -> &OperationAttemptId
pub const fn attempt(&self) -> &OperationAttemptId
Returns the separately persisted attempt identity.
Sourcepub const fn lease(&self) -> &OperationLeaseId
pub const fn lease(&self) -> &OperationLeaseId
Returns the bounded lease authorizing this dispatch.
Sourcepub const fn performer(&self) -> &Datum
pub const fn performer(&self) -> &Datum
Returns the exact performer authority selected for this handoff.
Sourcepub fn canonical_datum(&self) -> Datum
pub fn canonical_datum(&self) -> Datum
Returns the canonical semantic dispatch value.
Trait Implementations§
Source§impl Clone for FencedDispatch
impl Clone for FencedDispatch
Source§fn clone(&self) -> FencedDispatch
fn clone(&self) -> FencedDispatch
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 FencedDispatch
impl Debug for FencedDispatch
impl Eq for FencedDispatch
Source§impl PartialEq for FencedDispatch
impl PartialEq for FencedDispatch
impl StructuralPartialEq for FencedDispatch
Auto Trait Implementations§
impl Freeze for FencedDispatch
impl RefUnwindSafe for FencedDispatch
impl Send for FencedDispatch
impl Sync for FencedDispatch
impl Unpin for FencedDispatch
impl UnsafeUnpin for FencedDispatch
impl UnwindSafe for FencedDispatch
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