titan_core

Trait Respondable

Source
pub trait Respondable {
    // Required method
    fn respond(self) -> Response<Body>;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl Respondable for &str

Source§

impl Respondable for Infallible

Source§

impl Respondable for i8

Source§

impl Respondable for i16

Source§

impl Respondable for i32

Source§

impl Respondable for i64

Source§

impl Respondable for i128

Source§

impl Respondable for isize

Source§

impl Respondable for u8

Source§

impl Respondable for u16

Source§

impl Respondable for u32

Source§

impl Respondable for u64

Source§

impl Respondable for u128

Source§

impl Respondable for ()

Source§

impl Respondable for usize

Source§

impl Respondable for String

Source§

impl Respondable for Html

Source§

impl Respondable for Response<Body>

Source§

impl<T> Respondable for (StatusCode, T)
where T: Respondable,

Source§

impl<T, E> Respondable for Result<T, E>
where T: Respondable, E: Respondable,

Implementors§