Struct cryptographic_message_syntax::asn1::rfc5652::ContentInfo [−][src]
pub struct ContentInfo {
pub content_type: ContentType,
pub content: Captured,
}Expand description
Content info.
ContentInfo ::= SEQUENCE {
contentType ContentType,
content [0] EXPLICIT ANY DEFINED BY contentType }Fields
content_type: ContentTypecontent: CapturedImplementations
pub fn take_opt_from<S: Source>(
cons: &mut Constructed<'_, S>
) -> Result<Option<Self>, S::Err>
Trait Implementations
Returns the length of the encoded values for the given mode.
Encodes the values in the given mode and writes them to target.
Converts the encoder into one with an explicit tag.
Captures the encoded values in the given mode.
Auto Trait Implementations
impl RefUnwindSafe for ContentInfo
impl Send for ContentInfo
impl Sync for ContentInfo
impl Unpin for ContentInfo
impl UnwindSafe for ContentInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
