Struct ethers::core::k256::elliptic_curve::pkcs8::der::asn1::SetOfRef [−][src]
pub struct SetOfRef<'a, T> where
T: Clone + Decodable<'a> + Encodable + Ord, { /* fields omitted */ }
Expand description
ASN.1 SET OF
backed by a byte slice containing serialized DER.
Implementations
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
.
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for SetOfRef<'a, T> where
T: RefUnwindSafe,
impl<'a, T> UnwindSafe for SetOfRef<'a, T> where
T: UnwindSafe,
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