Trait pw_status::StatusCode
source · pub trait StatusCode {
// Required method
fn status_code(self) -> u32;
}
Expand description
Convert a Result into an status code.
Required Methods§
sourcefn status_code(self) -> u32
fn status_code(self) -> u32
Return a pigweed compatible status code.