pub trait GetCode {
// Required method
fn get_code(&self) -> u16;
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl GetCode for ResponsesClientCodes
Implementation of the GetCode trait for the enum.
impl GetCode for ResponsesCrawlerCodes
Implementation of the GetCode trait for the enum.
impl GetCode for ResponsesInformationalCodes
Implementation of the GetCode trait for the enum.
impl GetCode for ResponsesLocalApiCodes
Implementation of the GetCode trait for the enum.
impl GetCode for ResponsesRedirectionCodes
Implementation of the GetCode trait for the enum.
impl GetCode for ResponsesServerCodes
Implementation of the GetCode trait for the enum.
impl GetCode for ResponsesServiceCodes
Implementation of the GetCode trait for the enum.
impl GetCode for ResponsesSuccessCodes
Implementation of the GetCode trait for the enum.