[][src]Trait eiktyrner::content::RequestContent

pub trait RequestContent where
    Self::Data: Send + 'static + Unpin
{ type Data; fn apply_headers(&self, headers: &mut HeaderMap);
fn into_body(self) -> Result<Body, Error>; }

Associated Types

type Data

Loading content...

Required methods

fn apply_headers(&self, headers: &mut HeaderMap)

fn into_body(self) -> Result<Body, Error>

Loading content...

Implementors

impl RequestContent for Empty[src]

type Data = ()

impl<T> RequestContent for Json<T> where
    T: Serialize + 'static + Send + Unpin
[src]

type Data = T

Loading content...