pub struct ModeVerifiedGateway<'gateway> { /* private fields */ }Expand description
Opaque readiness capability for a resolved gateway and required account mode.
This value is intentionally non-cloneable and can be constructed only by
verify_gateway_account_mode. Supported low-level submission functions
consume it, compare its mode and gateway identity with the durable admitted
attempt, and re-query the account mode immediately before the real provider
mutation.
Account-mode lookup and provider mutation are separate NMI requests, so the first lookup is only an early readiness observation. The mandatory second lookup narrows, but cannot eliminate, a provider-side race. Deployments that require hard test/live isolation should use separate gateway accounts.
Trait Implementations§
Auto Trait Implementations§
impl<'gateway> !RefUnwindSafe for ModeVerifiedGateway<'gateway>
impl<'gateway> !UnwindSafe for ModeVerifiedGateway<'gateway>
impl<'gateway> Freeze for ModeVerifiedGateway<'gateway>
impl<'gateway> Send for ModeVerifiedGateway<'gateway>
impl<'gateway> Sync for ModeVerifiedGateway<'gateway>
impl<'gateway> Unpin for ModeVerifiedGateway<'gateway>
impl<'gateway> UnsafeUnpin for ModeVerifiedGateway<'gateway>
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> 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