Enum keybob::KeyType [−][src]
#[repr(u32)]pub enum KeyType { Aes128, Aes256, }
The type of key that should be created
Each key variant has a number value attached to it which represents the length of the key it represents.
Variants
Aes128
Aes256
Trait Implementations
impl Clone for KeyType
[src]
impl Clone for KeyType
fn clone(&self) -> KeyType
[src]
fn clone(&self) -> KeyType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for KeyType
[src]
impl PartialEq for KeyType
fn eq(&self, other: &KeyType) -> bool
[src]
fn eq(&self, other: &KeyType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for KeyType
[src]
impl Eq for KeyType
impl Debug for KeyType
[src]
impl Debug for KeyType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for KeyType
[src]
impl Display for KeyType