Trait ed25519_dalek::pkcs8::spki::der::Decode
pub trait Decode<'a>: Sized {
fn decode<R>(decoder: &mut R) -> Result<Self, Error>
where
R: Reader<'a>;
fn from_der(bytes: &'a [u8]) -> Result<Self, Error> { ... }
}
Available on crate feature
pkcs8
only.Expand description
Decoding trait.
This trait provides the core abstraction upon which all decoding operations are based.
Required Methods§
Provided Methods§
Implementations on Foreign Types§
Implementors§
impl<'a> Decode<'a> for Tag
impl<'a> Decode<'a> for Document
impl<'a> Decode<'a> for Any
Available on crate feature
alloc
only.