Trait embedded_svc::http::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,