Struct aws_smithy_runtime_api::client::interceptors::context::wrappers::FinalizerInterceptorContextMut
source · pub struct FinalizerInterceptorContextMut<'a, I = Input, O = Output, E = Error>where
E: Debug,{ /* private fields */ }Implementations§
source§impl<'a, I, O, E: Debug> FinalizerInterceptorContextMut<'a, I, O, E>
impl<'a, I, O, E: Debug> FinalizerInterceptorContextMut<'a, I, O, E>
pub fn input(&self) -> Option<&I>
pub fn request(&self) -> Option<&HttpRequest>
pub fn response(&self) -> Option<&HttpResponse>
pub fn output_or_error(&self) -> Option<Result<&O, &OrchestratorError<E>>>
pub fn input_mut(&mut self) -> Option<&mut I>
pub fn request_mut(&mut self) -> Option<&mut HttpRequest>
pub fn response_mut(&mut self) -> Option<&mut HttpResponse>
pub fn output_or_error_mut( &mut self ) -> Option<&mut Result<O, OrchestratorError<E>>>
Trait Implementations§
source§impl<'a, I, O, E: Debug> From<&'a mut InterceptorContext<I, O, E>> for FinalizerInterceptorContextMut<'a, I, O, E>
impl<'a, I, O, E: Debug> From<&'a mut InterceptorContext<I, O, E>> for FinalizerInterceptorContextMut<'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 FinalizerInterceptorContextMut<'a, I, O, E>
impl<'a, I, O, E> Send for FinalizerInterceptorContextMut<'a, I, O, E>where E: Send, I: Send, O: Send,
impl<'a, I, O, E> Sync for FinalizerInterceptorContextMut<'a, I, O, E>where E: Sync, I: Sync, O: Sync,
impl<'a, I, O, E> Unpin for FinalizerInterceptorContextMut<'a, I, O, E>
impl<'a, I = TypeErasedBox, O = TypeErasedBox, E = TypeErasedError> !UnwindSafe for FinalizerInterceptorContextMut<'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