[−][src]Struct openapi_context::context::ContextualPayload
This represents context provided as part of the request or the response
Fields
inner: Request<Body>
The inner payload for this request/response
context: Ctx
Request or Response Context
Trait Implementations
impl<Ctx: Debug> Debug for ContextualPayload<Ctx> where
Ctx: Send + 'static,
[src]
Ctx: Send + 'static,
impl<T, C> Service<ContextualPayload<C>> for AllowAllAuthenticator<T, C> where
C: RcBound,
C::Result: Send + Sync + 'static,
T: Service<ContextualPayload<C::Result>>,
[src]
C: RcBound,
C::Result: Send + Sync + 'static,
T: Service<ContextualPayload<C::Result>>,
type Response = T::Response
Responses given by the service.
type Error = T::Error
Errors produced by the service.
type Future = T::Future
The future response value.
fn poll_ready(&mut self, _cx: &mut Context) -> Poll<Result<(), Self::Error>>
[src]
fn call(&mut self, req: ContextualPayload<C>) -> Self::Future
[src]
impl<T, C> Service<ContextualPayload<C>> for DropContextService<T, C> where
C: Send + Sync + 'static,
T: Service<Request<Body>>,
[src]
C: Send + Sync + 'static,
T: Service<Request<Body>>,
type Response = T::Response
Responses given by the service.
type Error = T::Error
Errors produced by the service.
type Future = T::Future
The future response value.
fn poll_ready(&mut self, _cx: &mut Context) -> Poll<Result<(), Self::Error>>
[src]
fn call(&mut self, req: ContextualPayload<C>) -> Self::Future
[src]
Auto Trait Implementations
impl<Ctx> !RefUnwindSafe for ContextualPayload<Ctx>
impl<Ctx> Send for ContextualPayload<Ctx>
impl<Ctx> Sync for ContextualPayload<Ctx> where
Ctx: Sync,
Ctx: Sync,
impl<Ctx> Unpin for ContextualPayload<Ctx> where
Ctx: Unpin,
Ctx: Unpin,
impl<Ctx> !UnwindSafe for ContextualPayload<Ctx>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,