pub enum AesParameters {
Null,
InitializationVector(OctetStringAsn1),
AuthenticatedEncryptionParameters(AesAuthEncParams),
}
Variants§
Trait Implementations§
source§impl Clone for AesParameters
impl Clone for AesParameters
source§fn clone(&self) -> AesParameters
fn clone(&self) -> AesParameters
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 AesParameters
impl Debug for AesParameters
source§impl<'de> Deserialize<'de> for AesParameters
impl<'de> Deserialize<'de> for AesParameters
source§fn deserialize<D>(
deserializer: D
) -> Result<Self, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<Self, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<AesParameters> for AesParameters
impl PartialEq<AesParameters> for AesParameters
source§fn eq(&self, other: &AesParameters) -> bool
fn eq(&self, other: &AesParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AesParameters
impl Serialize for AesParameters
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for AesParameters
impl StructuralEq for AesParameters
impl StructuralPartialEq for AesParameters
Auto Trait Implementations§
impl RefUnwindSafe for AesParameters
impl Send for AesParameters
impl Sync for AesParameters
impl Unpin for AesParameters
impl UnwindSafe for AesParameters
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