Trait ResponseExt
conduit_test
pub trait ResponseExt { pub fn into_cow(self) -> Cow<'static, [u8]>; }
pub fn into_cow(self) -> Cow<'static, [u8]>
impl ResponseExt for Response<Body>
Convert the request into a copy-on-write body
This function may block if the value is a Body::File.
Body::File
This function panics if there is an error reading a Body::File.