Struct der::asn1::Sequence [−][src]
pub struct Sequence<'a> { /* fields omitted */ }
Expand description
ASN.1 SEQUENCE
type.
Implementations
pub fn iter<T: Decodable<'a>>(&self) -> SequenceIter<'a, T>ⓘNotable traits for SequenceIter<'a, T>
impl<'a, T> Iterator for SequenceIter<'a, T> where
T: Decodable<'a>, type Item = Result<T>;
[src]
pub fn iter<T: Decodable<'a>>(&self) -> SequenceIter<'a, T>ⓘNotable traits for SequenceIter<'a, T>
impl<'a, T> Iterator for SequenceIter<'a, T> where
T: Decodable<'a>, type Item = Result<T>;
[src]Iterate over the values in a heterogenously typed sequence.
Trait Implementations
Compute the length of this value in bytes when encoded as ASN.1 DER.
Encode this value as ASN.1 DER using the provided Encoder
.
Encode this value to the provided byte slice, returning a sub-slice containing the encoded message. Read more
alloc
only.Encode this message as ASN.1 DER, appending it to the provided byte vector. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for Sequence<'a>
impl<'a> UnwindSafe for Sequence<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self