Trait der::Decodable [−][src]
Decoding trait.
This trait provides the core abstraction upon which all decoding operations are based.
Blanket impl for TryFrom<Any>
In almost all cases you do not need to impl this trait yourself, but rather
can instead impl TryFrom<Any<'a>, Error = Error>
and receive a blanket
impl of this trait.
Required methods
fn decode(decoder: &mut Decoder<'a>) -> Result<Self>
[src]
Attempt to decode this message using the provided decoder.
Provided methods
fn from_der(bytes: &'a [u8]) -> Result<Self>
[src]
Parse Self
from the provided DER-encoded byte slice.
Implementations on Foreign Types
impl<'a, T> Decodable<'a> for Option<T> where
T: Choice<'a>,
[src]
Loading content...T: Choice<'a>,
Implementors
impl Decodable<'_> for Tag
[src]
impl Decodable<'_> for Header
[src]
impl Decodable<'_> for Length
[src]
impl<'a> Decodable<'a> for Any<'a>
[src]
impl<'a, T> Decodable<'a> for T where
T: TryFrom<Any<'a>, Error = Error>,
[src]
T: TryFrom<Any<'a>, Error = Error>,