Trait canteen::response::ToOutput [] [src]

pub trait ToOutput {
    fn to_output(&self) -> &[u8];
}

A trait that converts data from the handler function to a u8 slice.

Required Methods

Implementations on Foreign Types

impl ToOutput for str
[src]

[src]

impl ToOutput for &'static str
[src]

[src]

impl ToOutput for String
[src]

[src]

impl ToOutput for Vec<u8>
[src]

[src]

Implementors