Enum pkix::cms::EnvelopedData
source · pub enum EnvelopedData {
EnvelopedDataV2(EnvelopedDataV2),
}
Variants§
EnvelopedDataV2(EnvelopedDataV2)
Implementations§
source§impl EnvelopedData
impl EnvelopedData
pub fn get_type(&self) -> CMSVersion
Trait Implementations§
source§impl BERDecodable for EnvelopedData
impl BERDecodable for EnvelopedData
source§fn decode_ber(reader: BERReader<'_, '_>) -> ASN1Result<Self>
fn decode_ber(reader: BERReader<'_, '_>) -> ASN1Result<Self>
source§impl Clone for EnvelopedData
impl Clone for EnvelopedData
source§fn clone(&self) -> EnvelopedData
fn clone(&self) -> EnvelopedData
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 EnvelopedData
impl Debug for EnvelopedData
source§impl From<EnvelopedData> for ContentInfo
impl From<EnvelopedData> for ContentInfo
source§fn from(var: EnvelopedData) -> ContentInfo
fn from(var: EnvelopedData) -> ContentInfo
Converts to this type from the input type.
source§impl From<EnvelopedData> for EncapsulatedContentInfo
impl From<EnvelopedData> for EncapsulatedContentInfo
source§fn from(var: EnvelopedData) -> EncapsulatedContentInfo
fn from(var: EnvelopedData) -> EncapsulatedContentInfo
Converts to this type from the input type.
source§impl From<EnvelopedDataV2> for EnvelopedData
impl From<EnvelopedDataV2> for EnvelopedData
source§fn from(var: EnvelopedDataV2) -> EnvelopedData
fn from(var: EnvelopedDataV2) -> EnvelopedData
Converts to this type from the input type.
source§impl Hash for EnvelopedData
impl Hash for EnvelopedData
source§impl PartialEq for EnvelopedData
impl PartialEq for EnvelopedData
source§fn eq(&self, other: &EnvelopedData) -> bool
fn eq(&self, other: &EnvelopedData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EnvelopedData
impl StructuralEq for EnvelopedData
impl StructuralPartialEq for EnvelopedData
Auto Trait Implementations§
impl RefUnwindSafe for EnvelopedData
impl Send for EnvelopedData
impl Sync for EnvelopedData
impl Unpin for EnvelopedData
impl UnwindSafe for EnvelopedData
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