[][src]Trait interfacer_http::FromContent

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

Associated Types

Loading content...

Required methods

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

Loading content...

Implementations on Foreign Types

impl FromContent for ()[src]

type Err = FromContentError

Loading content...

Implementors

Loading content...