pub type Result<T> = Result<T, Error>;
Aliased Type§
enum Result<T> {
Ok(T),
Err(Error),
}
Variants§
Trait Implementations§
source§impl<T> StatusCode for Result<T>
impl<T> StatusCode for Result<T>
source§fn status_code(self) -> u32
fn status_code(self) -> u32
Return a pigweed compatible status code.