pub trait FromParts<P, B = Bytes> {
    // Required method
    fn from_parts(parts: P, body: B) -> Self;
}

Required Methods§

source

fn from_parts(parts: P, body: B) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a, P> FromParts<&'a mut Parts, P> for RequestForEncoder<'a, P>

source§

impl<P> FromParts<Parts, P> for Request<P>

source§

impl<P> FromParts<Parts, P> for Response<P>