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

Implementors§

source§

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

source§

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