Enum openmls_traits::types::AeadType
source · [−]#[repr(u16)]
pub enum AeadType {
Aes128Gcm,
Aes256Gcm,
ChaCha20Poly1305,
}
Expand description
AEAD types
Variants
Aes128Gcm
AES GCM 128
Aes256Gcm
AES GCM 256
ChaCha20Poly1305
ChaCha20 Poly1305
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for AeadType
impl<'de> Deserialize<'de> for AeadType
sourcefn 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
sourceimpl From<Ciphersuite> for AeadType
impl From<Ciphersuite> for AeadType
sourcefn from(ciphersuite_name: Ciphersuite) -> Self
fn from(ciphersuite_name: Ciphersuite) -> Self
Performs the conversion.
impl Copy for AeadType
impl Eq for AeadType
impl StructuralEq for AeadType
impl StructuralPartialEq for AeadType
Auto Trait Implementations
impl RefUnwindSafe for AeadType
impl Send for AeadType
impl Sync for AeadType
impl Unpin for AeadType
impl UnwindSafe for AeadType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more