Enum rcache::message::Code [] [src]

pub enum Code {
    Req,
    Ok,
    Miss,
    Error,
    Hit,
}

Code

Variants

Trait Implementations

impl Debug for Code
[src]

Formats the value using the given formatter.

impl PartialEq for Code
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Code
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Code
[src]

impl Display for Code
[src]

Formats the value using the given formatter. Read more

impl TryFrom<u8> for Code
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.