Trait chilli::wrappers::BodyWrite [] [src]

pub trait BodyWrite: Send {
    fn write_body(&mut self, body: &mut ResponseBody) -> Result<()>;
}

A trait which writes the body of one response.

Required Methods

Implementations on Foreign Types

impl BodyWrite for Vec<u8>
[src]

[src]

impl<'a> BodyWrite for &'a [u8]
[src]

[src]

impl BodyWrite for String
[src]

[src]

impl<'a> BodyWrite for &'a str
[src]

[src]

impl BodyWrite for File
[src]

[src]

impl BodyWrite for Take<File>
[src]

[src]

Implementors