pub struct OutboxClaim { /* private fields */ }Expand description
One atomically claimed delivery and its durable-before-dispatch start.
Implementations§
Source§impl OutboxClaim
impl OutboxClaim
Sourcepub const fn destination(&self) -> &StoredOutboxDestination
pub const fn destination(&self) -> &StoredOutboxDestination
Returns the pinned destination snapshot needed by the adapter.
Sourcepub const fn delivery(&self) -> &OutboxDelivery
pub const fn delivery(&self) -> &OutboxDelivery
Returns the immutable delivery and protocol payload.
Sourcepub const fn start(&self) -> &OutboxAttemptStart
pub const fn start(&self) -> &OutboxAttemptStart
Returns the durable attempt start that must precede network I/O.
Sourcepub const fn fence(&self) -> &DeliveryFence
pub const fn fence(&self) -> &DeliveryFence
Returns the exact completion fence.
Trait Implementations§
Source§impl Clone for OutboxClaim
impl Clone for OutboxClaim
Auto Trait Implementations§
impl Forget for OutboxClaim
impl Freeze for OutboxClaim
impl Move for OutboxClaim
impl RefUnwindSafe for OutboxClaim
impl Send for OutboxClaim
impl Sync for OutboxClaim
impl Unpin for OutboxClaim
impl UnsafeUnpin for OutboxClaim
impl UnwindSafe for OutboxClaim
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more