embedded_svc::http

Trait Status

Source
pub trait Status {
    // Required methods
    fn status(&self) -> u16;
    fn status_message(&self) -> Option<&str>;
}

Required Methods§

Source

fn status(&self) -> u16

Source

fn status_message(&self) -> Option<&str>

Implementations on Foreign Types§

Source§

impl<S> Status for &S
where S: Status,

Source§

fn status(&self) -> u16

Source§

fn status_message(&self) -> Option<&str>

Source§

impl<S> Status for &mut S
where S: Status,

Source§

fn status(&self) -> u16

Source§

fn status_message(&self) -> Option<&str>

Implementors§

Source§

impl<C> Status for embedded_svc::http::client::asynch::Response<C>
where C: Connection,

Source§

impl<C> Status for embedded_svc::http::client::Response<C>
where C: Connection,