Trait finchers::http::IntoBody [] [src]

pub trait IntoBody: Sized {
    fn into_body(self, h: &mut Headers) -> Body;
}

Conversion into the raw HTTP response body

Required Methods

Add some response headers and then convert itself into Body

Implementations on Foreign Types

impl IntoBody for ()
[src]

[src]

impl IntoBody for Vec<u8>
[src]

[src]

impl IntoBody for &'static str
[src]

[src]

impl IntoBody for String
[src]

[src]

impl IntoBody for Cow<'static, str>
[src]

[src]

Implementors