Struct hyperdriver::service::AdaptCustomBodyLayer
source · pub struct AdaptCustomBodyLayer<BIn, BOut> { /* private fields */ }Expand description
Layer to convert a service which accepts a custom body type to a service
which accepts a Body body.
Implementations§
source§impl<BIn, BOut> AdaptCustomBodyLayer<BIn, BOut>
impl<BIn, BOut> AdaptCustomBodyLayer<BIn, BOut>
Trait Implementations§
source§impl<BIn, BOut> Clone for AdaptCustomBodyLayer<BIn, BOut>
impl<BIn, BOut> Clone for AdaptCustomBodyLayer<BIn, BOut>
source§impl<BIn, BOut> Debug for AdaptCustomBodyLayer<BIn, BOut>
impl<BIn, BOut> Debug for AdaptCustomBodyLayer<BIn, BOut>
source§impl<BIn, BOut> Default for AdaptCustomBodyLayer<BIn, BOut>
impl<BIn, BOut> Default for AdaptCustomBodyLayer<BIn, BOut>
source§impl<BIn, BOut, S> Layer<S> for AdaptCustomBodyLayer<BIn, BOut>
impl<BIn, BOut, S> Layer<S> for AdaptCustomBodyLayer<BIn, BOut>
Auto Trait Implementations§
impl<BIn, BOut> Freeze for AdaptCustomBodyLayer<BIn, BOut>
impl<BIn, BOut> RefUnwindSafe for AdaptCustomBodyLayer<BIn, BOut>
impl<BIn, BOut> Send for AdaptCustomBodyLayer<BIn, BOut>
impl<BIn, BOut> Sync for AdaptCustomBodyLayer<BIn, BOut>
impl<BIn, BOut> Unpin for AdaptCustomBodyLayer<BIn, BOut>
impl<BIn, BOut> UnwindSafe for AdaptCustomBodyLayer<BIn, BOut>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)