pub struct AfterDeserializationInterceptorContextRef<'a, I = Input, O = Output, E = Error> { /* private fields */ }
Expand description
Interceptor context for hooks after deserializing the response.
The response and the deserialized output or error are available at this point in the operation.
Implementations§
source§impl<'a, I, O, E> AfterDeserializationInterceptorContextRef<'a, I, O, E>
impl<'a, I, O, E> AfterDeserializationInterceptorContextRef<'a, I, O, E>
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> From<&'a InterceptorContext<I, O, E>> for AfterDeserializationInterceptorContextRef<'a, I, O, E>
impl<'a, I, O, E> From<&'a InterceptorContext<I, O, E>> for AfterDeserializationInterceptorContextRef<'a, I, O, E>
source§fn from(
inner: &'a InterceptorContext<I, O, E>
) -> AfterDeserializationInterceptorContextRef<'a, I, O, E>
fn from( inner: &'a InterceptorContext<I, O, E> ) -> AfterDeserializationInterceptorContextRef<'a, I, O, E>
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a, I = Input, O = Output, E = Error> !RefUnwindSafe for AfterDeserializationInterceptorContextRef<'a, I, O, E>
impl<'a, I, O, E> Send for AfterDeserializationInterceptorContextRef<'a, I, O, E>
impl<'a, I, O, E> Sync for AfterDeserializationInterceptorContextRef<'a, I, O, E>
impl<'a, I, O, E> Unpin for AfterDeserializationInterceptorContextRef<'a, I, O, E>
impl<'a, I = Input, O = Output, E = Error> !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