Struct ethers::core::k256::elliptic_curve::pkcs8::der::asn1::Sequence [−][src]
pub struct Sequence<'a> { /* fields omitted */ }
Expand description
ASN.1 SEQUENCE
type.
Implementations
Borrow the inner byte sequence.
pub fn iter<T>(&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, Error>;
where
T: Decodable<'a>,
pub fn iter<T>(&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, Error>;
where
T: Decodable<'a>,
impl<'a, T> Iterator for SequenceIter<'a, T> where
T: Decodable<'a>, type Item = Result<T, Error>;
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
.
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
pub fn as_slice_of<T>(&self) -> Result<&[T], Error> where
T: FromByteSlice,
pub fn base32_len(&self) -> usize
pub fn base32_len(&self) -> usize
Calculate the base32 serialized length
Mutably borrows from an owned value. Read more
Is the provided Tag
decodable as a variant of this CHOICE
?
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn write_base32<W>(
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
pub fn write_base32<W>(
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
Encode as base32 and write it to the supplied writer Implementations shouldn’t allocate. Read more
pub fn vzip(self) -> V
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