Enum p25::voice::crypto::CryptoAlgorithm
[−]
[src]
pub enum CryptoAlgorithm { Accordion, BatonEven, Firefly, Mayfly, Saville, BatonOdd, Unencrypted, Des, TripleDes, Aes, Other(u8), }
Type of cryptographic algorithm.
Variants
Accordion
BatonEven
Firefly
Mayfly
Saville
BatonOdd
Unencrypted
Des
TripleDes
Aes
Other(u8)
Methods
impl CryptoAlgorithm
[src]
pub fn from_bits(bits: u8) -> CryptoAlgorithm
[src]
Parse the given 8 bits into a crypto algorithm.
Trait Implementations
impl Copy for CryptoAlgorithm
[src]
impl Clone for CryptoAlgorithm
[src]
fn clone(&self) -> CryptoAlgorithm
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for CryptoAlgorithm
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for CryptoAlgorithm
[src]
impl PartialEq for CryptoAlgorithm
[src]
fn eq(&self, __arg_0: &CryptoAlgorithm) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CryptoAlgorithm) -> bool
[src]
This method tests for !=
.