pub enum CryptoMethod {
Plain = 1,
Rc4 = 2,
Aes128Cbc = 3,
}Expand description
MSE encryption method
Variants§
Plain = 1
Plaintext transmission, no encryption
Rc4 = 2
RC4 stream cipher
Aes128Cbc = 3
AES-128-CBC (optional)
Implementations§
Trait Implementations§
Source§impl Clone for CryptoMethod
impl Clone for CryptoMethod
Source§fn clone(&self) -> CryptoMethod
fn clone(&self) -> CryptoMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CryptoMethod
Source§impl Debug for CryptoMethod
impl Debug for CryptoMethod
impl Eq for CryptoMethod
Source§impl PartialEq for CryptoMethod
impl PartialEq for CryptoMethod
impl StructuralPartialEq for CryptoMethod
Auto Trait Implementations§
impl Freeze for CryptoMethod
impl RefUnwindSafe for CryptoMethod
impl Send for CryptoMethod
impl Sync for CryptoMethod
impl Unpin for CryptoMethod
impl UnsafeUnpin for CryptoMethod
impl UnwindSafe for CryptoMethod
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.