Enum sda_protocol::EncryptionKey
[−]
[src]
pub enum EncryptionKey {
Sodium(B32),
}Encryption key (aka public key).
Variants
Sodium(B32)Standard sodium encryption key (Curve25519, XSalsa20, Poly1305).
Trait Implementations
impl Clone for EncryptionKey[src]
fn clone(&self) -> EncryptionKey
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
impl Debug for EncryptionKey[src]
impl Eq for EncryptionKey[src]
impl PartialEq for EncryptionKey[src]
fn eq(&self, __arg_0: &EncryptionKey) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &EncryptionKey) -> bool
This method tests for !=.