pub enum EncryptionMethod {
EM_NONE = 0,
EM_AES_GCM = 1,
}
Variants§
Trait Implementations§
source§impl Clone for EncryptionMethod
impl Clone for EncryptionMethod
source§fn clone(&self) -> EncryptionMethod
fn clone(&self) -> EncryptionMethod
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 EncryptionMethod
impl Debug for EncryptionMethod
source§impl Default for EncryptionMethod
impl Default for EncryptionMethod
source§impl Enum for EncryptionMethod
impl Enum for EncryptionMethod
source§const NAME: &'static str = "EncryptionMethod"
const NAME: &'static str = "EncryptionMethod"
Enum name as specified in
.proto
file. Read moresource§const VALUES: &'static [EncryptionMethod] = _
const VALUES: &'static [EncryptionMethod] = _
All enum values for enum type.
source§impl EnumFull for EncryptionMethod
impl EnumFull for EncryptionMethod
source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl Hash for EncryptionMethod
impl Hash for EncryptionMethod
source§impl PartialEq for EncryptionMethod
impl PartialEq for EncryptionMethod
impl Copy for EncryptionMethod
impl Eq for EncryptionMethod
impl StructuralPartialEq for EncryptionMethod
Auto Trait Implementations§
impl Freeze for EncryptionMethod
impl RefUnwindSafe for EncryptionMethod
impl Send for EncryptionMethod
impl Sync for EncryptionMethod
impl Unpin for EncryptionMethod
impl UnwindSafe for EncryptionMethod
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)