Skip to main content

StatusCode

Trait StatusCode 

Source
pub trait StatusCode {
    // Required method
    fn to_usize(&self) -> usize;
}

Required Methods§

Source

fn to_usize(&self) -> usize

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl StatusCode for usize

Source§

fn to_usize(&self) -> usize

Implementors§