[][src]Trait conduit_test::ResponseExt

pub trait ResponseExt {
    fn into_cow(self) -> Cow<'static, [u8]>;
}

Required methods

fn into_cow(self) -> Cow<'static, [u8]>

Loading content...

Implementations on Foreign Types

impl ResponseExt for Response<Body>[src]

fn into_cow(self) -> Cow<'static, [u8]>[src]

Convert the request into a copy-on-write body

Blocking

This function may block if the value is a Body::File.

Panics

This function panics if there is an error reading a Body::File.

Loading content...

Implementors

Loading content...