Trait twitch_api2::client::RequestExt
source · [−]pub trait RequestExt {
type Error;
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
fn 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