pub struct ContextMutation { /* private fields */ }Expand description
Replayable mutation with a pre-dispatch command identity, not an execution retry.
Implementations§
Source§impl ContextMutation
impl ContextMutation
Sourcepub fn identity(&self) -> Option<&RequestIdentity>
pub fn identity(&self) -> Option<&RequestIdentity>
Caller-known command identity before dispatch.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ContextMutation
impl !UnwindSafe for ContextMutation
impl Freeze for ContextMutation
impl Send for ContextMutation
impl Sync for ContextMutation
impl Unpin for ContextMutation
impl UnsafeUnpin for ContextMutation
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
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request