Skip to main content

GetCode

Trait GetCode 

Source
pub trait GetCode {
    // Required method
    fn get_code(&self) -> u16;
}

Required Methods§

Source

fn get_code(&self) -> u16

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl GetCode for ResponsesClientCodes

Implementation of the GetCode trait for the enum.

Source§

impl GetCode for ResponsesCrawlerCodes

Implementation of the GetCode trait for the enum.

Source§

impl GetCode for ResponsesInformationalCodes

Implementation of the GetCode trait for the enum.

Source§

impl GetCode for ResponsesLocalApiCodes

Implementation of the GetCode trait for the enum.

Source§

impl GetCode for ResponsesRedirectionCodes

Implementation of the GetCode trait for the enum.

Source§

impl GetCode for ResponsesServerCodes

Implementation of the GetCode trait for the enum.

Source§

impl GetCode for ResponsesServiceCodes

Implementation of the GetCode trait for the enum.

Source§

impl GetCode for ResponsesSuccessCodes

Implementation of the GetCode trait for the enum.