Skip to main content

StatusTest

Trait StatusTest 

Source
pub trait StatusTest {
    // Required method
    fn test(&self, status: StatusCode) -> bool;
}

Required Methods§

Source

fn test(&self, status: StatusCode) -> bool

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§