pub trait HyperErr: Sized + Send + Sync + ToString + Clone + Into<UniErr> + From<UniErr> + From<String> + From<&'static str> + From<RecvError> + Into<UniErr> {
    fn to_cosmic_err(&self) -> UniErr;
    fn new<S>(message: S) -> Self
   where
        S: ToString
; fn status_msg<S>(status: u16, message: S) -> Self
   where
        S: ToString
; fn status(&self) -> u16; fn not_found() -> Self { ... } fn not_found_msg<S>(message: S) -> Self
   where
        S: ToString
, { ... } fn as_reflected_core(&self) -> ReflectedCore { ... } }

Required Methods

Provided Methods

Implementors