Struct aws_smithy_runtime_api::client::interceptors::context::wrappers::AfterDeserializationInterceptorContextRef
source · pub struct AfterDeserializationInterceptorContextRef<'a, I = Input, O = Output, E = Error>where
E: Debug,{ /* private fields */ }Implementations§
source§impl<'a, I, O, E: Debug> AfterDeserializationInterceptorContextRef<'a, I, O, E>
impl<'a, I, O, E: Debug> AfterDeserializationInterceptorContextRef<'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.
Trait Implementations§
source§impl<'a, I, O, E: Debug> From<&'a InterceptorContext<I, O, E>> for AfterDeserializationInterceptorContextRef<'a, I, O, E>
impl<'a, I, O, E: Debug> From<&'a InterceptorContext<I, O, E>> for AfterDeserializationInterceptorContextRef<'a, I, O, E>
source§fn from(inner: &'a InterceptorContext<I, O, E>) -> Self
fn from(inner: &'a 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 AfterDeserializationInterceptorContextRef<'a, I, O, E>
impl<'a, I, O, E> Send for AfterDeserializationInterceptorContextRef<'a, I, O, E>where E: Sync, I: Sync, O: Sync,
impl<'a, I, O, E> Sync for AfterDeserializationInterceptorContextRef<'a, I, O, E>where E: Sync, I: Sync, O: Sync,
impl<'a, I, O, E> Unpin for AfterDeserializationInterceptorContextRef<'a, I, O, E>
impl<'a, I = TypeErasedBox, O = TypeErasedBox, E = TypeErasedError> !UnwindSafe for AfterDeserializationInterceptorContextRef<'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