pub trait BodyOp {
    fn body_bytes<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn body_string<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn set_body(&mut self, body: impl Into<Body>); fn set_content_type(&mut self, mime: Mime) -> Option<HeaderValues>; }

Required Methods

Implementations on Foreign Types

Implementors