Trait fluvio_future::http_client::ResponseExt
source · pub trait ResponseExt {
// Required method
fn bytes(
self
) -> Pin<Box<dyn Future<Output = Result<Bytes>> + Send + 'static>>;
// Provided methods
fn json<T: DeserializeOwned>(
self
) -> Pin<Box<dyn Future<Output = Result<T>> + Send + 'static>>
where Self: Sized + Send + 'static { ... }
fn body_string(
self
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'static>>
where Self: Sized + Send + 'static { ... }
}