[][src]Trait interfacer_http::FromContent

pub trait FromContent: Sized {
    fn from_content(
        data: Vec<u8>,
        content_type: &Mime
    ) -> Result<Self, FromContentError>; }

Required methods

fn from_content(
    data: Vec<u8>,
    content_type: &Mime
) -> Result<Self, FromContentError>

Loading content...

Implementations on Foreign Types

impl FromContent for ()[src]

Loading content...

Implementors

Loading content...