Trait tsukuyomi::input::body::FromData[][src]

pub trait FromData: Sized {
    fn from_data(data: Bytes, input: &mut Input) -> Result<Self, Error>;
}

A trait representing the conversion to certain type.

Required Methods

Perform conversion from a received buffer of bytes into a value of Self.

Implementations on Foreign Types

impl FromData for String
[src]

Implementors