Enum mles_utils::KeyInput [] [src]

pub enum KeyInput {
    Addr(SocketAddr),
    Str(String),
}

KeyInput structure

This structure defines the Mles types that can be hashed easily.

Variants

Socket address as a hash input

String value as a hash input

Trait Implementations

impl Hash for KeyInput
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for KeyInput
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more