pub trait RequestExt {
type Error;
// Required method
fn into_request_vec<'a>(
self,
) -> BoxedFuture<'a, Result<Request<Vec<u8>>, Self::Error>>;
}
Available on crate feature
client
only.Expand description
Extension trait for Request
Required Associated Types§
Required Methods§
Sourcefn into_request_vec<'a>(
self,
) -> BoxedFuture<'a, Result<Request<Vec<u8>>, Self::Error>>
fn into_request_vec<'a>( self, ) -> BoxedFuture<'a, Result<Request<Vec<u8>>, Self::Error>>
Return the body as a vector of bytes