Struct aws_smithy_runtime_api::client::interceptors::context::wrappers::AfterDeserializationInterceptorContextMut
source · pub struct AfterDeserializationInterceptorContextMut<'a, I = Input, O = Output, E = Error>where
E: Debug,{ /* private fields */ }Implementations§
source§impl<'a, I, O, E: Debug> AfterDeserializationInterceptorContextMut<'a, I, O, E>
impl<'a, I, O, E: Debug> AfterDeserializationInterceptorContextMut<'a, I, O, E>
sourcepub fn request(&self) -> &HttpRequest
pub fn request(&self) -> &HttpRequest
Returns a reference to the transmittable request for the operation being invoked.
sourcepub fn response(&self) -> &HttpResponse
pub fn response(&self) -> &HttpResponse
Returns a reference to the response.
sourcepub fn output_or_error(&self) -> Result<&O, &OrchestratorError<E>>
pub fn output_or_error(&self) -> Result<&O, &OrchestratorError<E>>
Returns a reference to the deserialized output or error.
sourcepub fn request_mut(&mut self) -> &mut HttpRequest
pub fn request_mut(&mut self) -> &mut HttpRequest
Returns a mutable reference to the transmittable request for the operation being invoked.
sourcepub fn response_mut(&mut self) -> &mut HttpResponse
pub fn response_mut(&mut self) -> &mut HttpResponse
Returns a mutable reference to the response.
sourcepub fn output_or_error_mut(&mut self) -> &mut Result<O, OrchestratorError<E>>
pub fn output_or_error_mut(&mut self) -> &mut Result<O, OrchestratorError<E>>
Returns a mutable reference to the deserialized output or error.
Trait Implementations§
source§impl<'a, I, O, E: Debug> From<&'a mut InterceptorContext<I, O, E>> for AfterDeserializationInterceptorContextMut<'a, I, O, E>
impl<'a, I, O, E: Debug> From<&'a mut InterceptorContext<I, O, E>> for AfterDeserializationInterceptorContextMut<'a, I, O, E>
source§fn from(inner: &'a mut InterceptorContext<I, O, E>) -> Self
fn from(inner: &'a mut InterceptorContext<I, O, E>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a, I = TypeErasedBox, O = TypeErasedBox, E = TypeErasedError> !RefUnwindSafe for AfterDeserializationInterceptorContextMut<'a, I, O, E>
impl<'a, I, O, E> Send for AfterDeserializationInterceptorContextMut<'a, I, O, E>where E: Send, I: Send, O: Send,
impl<'a, I, O, E> Sync for AfterDeserializationInterceptorContextMut<'a, I, O, E>where E: Sync, I: Sync, O: Sync,
impl<'a, I, O, E> Unpin for AfterDeserializationInterceptorContextMut<'a, I, O, E>
impl<'a, I = TypeErasedBox, O = TypeErasedBox, E = TypeErasedError> !UnwindSafe for AfterDeserializationInterceptorContextMut<'a, I, O, E>
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