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
Addr(SocketAddr)
Socket address as a hash input
Str(String)
String value as a hash input
Trait Implementations
impl Hash for KeyInput
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for KeyInput
[src]
fn clone(&self) -> KeyInput
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more