pub trait ResponseExt {
// Provided methods
async fn body_vec(&mut self, limit: Option<usize>) -> Result<Vec<u8>> { ... }
async fn body_string(&mut self, limit: Option<usize>) -> Result<String> { ... }
}
Provided Methods§
async fn body_vec(&mut self, limit: Option<usize>) -> Result<Vec<u8>>
async fn body_string(&mut self, limit: Option<usize>) -> Result<String>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.