#[repr(u32)]pub enum CipherAlgorithm {
Invalid = 0,
Aes256Gcm = 1,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CipherAlgorithm
impl Clone for CipherAlgorithm
Source§fn clone(&self) -> CipherAlgorithm
fn clone(&self) -> CipherAlgorithm
Returns a duplicate 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 CipherAlgorithm
impl Debug for CipherAlgorithm
Source§impl<'de> Deserialize<'de> for CipherAlgorithm
impl<'de> Deserialize<'de> for CipherAlgorithm
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CipherAlgorithm
impl PartialEq for CipherAlgorithm
Source§impl Serialize for CipherAlgorithm
impl Serialize for CipherAlgorithm
impl Copy for CipherAlgorithm
impl StructuralPartialEq for CipherAlgorithm
Auto Trait Implementations§
impl Freeze for CipherAlgorithm
impl RefUnwindSafe for CipherAlgorithm
impl Send for CipherAlgorithm
impl Sync for CipherAlgorithm
impl Unpin for CipherAlgorithm
impl UnsafeUnpin for CipherAlgorithm
impl UnwindSafe for CipherAlgorithm
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