Enum malwaredb_server::crypto::EncryptionOption
source · pub enum EncryptionOption {
AES128,
RC4,
Xor,
}
Expand description
Available options for specifying which algorithm to use
Variants§
Trait Implementations§
source§impl Clone for EncryptionOption
impl Clone for EncryptionOption
source§fn clone(&self) -> EncryptionOption
fn clone(&self) -> EncryptionOption
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EncryptionOption
impl Debug for EncryptionOption
source§impl Display for EncryptionOption
impl Display for EncryptionOption
source§impl From<EncryptionOption> for FileEncryption
impl From<EncryptionOption> for FileEncryption
source§fn from(option: EncryptionOption) -> Self
fn from(option: EncryptionOption) -> Self
Converts to this type from the input type.
source§impl PartialEq for EncryptionOption
impl PartialEq for EncryptionOption
source§fn eq(&self, other: &EncryptionOption) -> bool
fn eq(&self, other: &EncryptionOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&str> for EncryptionOption
impl TryFrom<&str> for EncryptionOption
source§impl ValueEnum for EncryptionOption
impl ValueEnum for EncryptionOption
impl Copy for EncryptionOption
impl Eq for EncryptionOption
impl StructuralPartialEq for EncryptionOption
Auto Trait Implementations§
impl Freeze for EncryptionOption
impl RefUnwindSafe for EncryptionOption
impl Send for EncryptionOption
impl Sync for EncryptionOption
impl Unpin for EncryptionOption
impl UnwindSafe for EncryptionOption
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<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.