pub struct GeneratedExecution<T> { /* private fields */ }Expand description
A generated outcome together with its complete checked transport response.
Implementations§
Source§impl<T> GeneratedExecution<T>
impl<T> GeneratedExecution<T>
Sourcepub const fn response(&self) -> &ExecuteCommandResponse
pub const fn response(&self) -> &ExecuteCommandResponse
Borrows commit, provenance, contract, and durability metadata.
Sourcepub fn into_parts(self) -> (T, ExecuteCommandResponse)
pub fn into_parts(self) -> (T, ExecuteCommandResponse)
Splits the generated outcome from its checked transport response.
Auto Trait Implementations§
impl<T> Freeze for GeneratedExecution<T>where
T: Freeze,
impl<T> RefUnwindSafe for GeneratedExecution<T>where
T: RefUnwindSafe,
impl<T> Send for GeneratedExecution<T>where
T: Send,
impl<T> Sync for GeneratedExecution<T>where
T: Sync,
impl<T> Unpin for GeneratedExecution<T>where
T: Unpin,
impl<T> UnsafeUnpin for GeneratedExecution<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for GeneratedExecution<T>where
T: UnwindSafe,
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].