pub struct BodyAdapter<S>(/* private fields */);Expand description
Adapter to convert hyper::Request
Implementations§
Source§impl<S> BodyAdapter<S>
impl<S> BodyAdapter<S>
Trait Implementations§
Source§impl<S: Clone> Clone for BodyAdapter<S>
impl<S: Clone> Clone for BodyAdapter<S>
Source§fn clone(&self) -> BodyAdapter<S>
fn clone(&self) -> BodyAdapter<S>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<S> Service<Request<Incoming>> for BodyAdapter<S>where
S: Service<OxiditeRequest, Response = OxiditeResponse, Error = Error> + Clone + Send + 'static,
S::Future: Send + 'static,
impl<S> Service<Request<Incoming>> for BodyAdapter<S>where
S: Service<OxiditeRequest, Response = OxiditeResponse, Error = Error> + Clone + Send + 'static,
S::Future: Send + 'static,
Source§type Future = Pin<Box<dyn Future<Output = Result<<BodyAdapter<S> as Service<Request<Incoming>>>::Response, <BodyAdapter<S> as Service<Request<Incoming>>>::Error>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<<BodyAdapter<S> as Service<Request<Incoming>>>::Response, <BodyAdapter<S> as Service<Request<Incoming>>>::Error>> + Send>>
The future response value.
Auto Trait Implementations§
impl<S> Freeze for BodyAdapter<S>where
S: Freeze,
impl<S> RefUnwindSafe for BodyAdapter<S>where
S: RefUnwindSafe,
impl<S> Send for BodyAdapter<S>where
S: Send,
impl<S> Sync for BodyAdapter<S>where
S: Sync,
impl<S> Unpin for BodyAdapter<S>where
S: Unpin,
impl<S> UnsafeUnpin for BodyAdapter<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for BodyAdapter<S>where
S: UnwindSafe,
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