Trait Sequence

Source
pub trait Sequence<'a>: DecodeValue<'a> + EncodeValue { }
Available on crate feature pkcs8 only.
Expand description

Marker trait for ASN.1 SEQUENCEs.

This is mainly used for custom derive.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'a, T> Sequence<'a> for Box<T>
where T: Sequence<'a>,

Available on crate feature alloc only.

Implementors§

Source§

impl<'a> Sequence<'a> for PrivateKeyInfo<'a>

Source§

impl<'a> Sequence<'a> for SequenceRef<'a>

Source§

impl<'a, Params> Sequence<'a> for AlgorithmIdentifier<Params>
where Params: Choice<'a> + Encode,

Source§

impl<'a, Params, Key> Sequence<'a> for SubjectPublicKeyInfo<Params, Key>
where Params: Choice<'a> + Encode, Key: Decode<'a> + Encode + FixedTag,