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

pub trait FromData: Sized {
    fn from_data<T>(data: Bytes, request: &Request<T>) -> 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