Trait der::DecodeValue

source ·
pub trait DecodeValue<'a>: Sized {
    // Required method
    fn decode_value<R: Reader<'a>>(
        reader: &mut R,
        header: Header
    ) -> Result<Self>;
}
Expand description

Decode the value part of a Tag-Length-Value encoded field, sans the Tag and Length.

Required Methods§

source

fn decode_value<R: Reader<'a>>(reader: &mut R, header: Header) -> Result<Self>

Attempt to decode this message using the provided Reader.

Implementations on Foreign Types§

source§

impl<'a> DecodeValue<'a> for SystemTime

source§

fn decode_value<R: Reader<'a>>(reader: &mut R, header: Header) -> Result<Self>

source§

impl<'a> DecodeValue<'a> for i32

source§

fn decode_value<R: Reader<'a>>(reader: &mut R, header: Header) -> Result<Self>

source§

impl<'a> DecodeValue<'a> for i8

source§

fn decode_value<R: Reader<'a>>(reader: &mut R, header: Header) -> Result<Self>

source§

impl<'a> DecodeValue<'a> for ()

source§

fn decode_value<R: Reader<'a>>(reader: &mut R, header: Header) -> Result<Self>

source§

impl<'a> DecodeValue<'a> for i16

source§

fn decode_value<R: Reader<'a>>(reader: &mut R, header: Header) -> Result<Self>

source§

impl<'a> DecodeValue<'a> for u128

source§

fn decode_value<R: Reader<'a>>(reader: &mut R, header: Header) -> Result<Self>

source§

impl<'a> DecodeValue<'a> for u64

source§

fn decode_value<R: Reader<'a>>(reader: &mut R, header: Header) -> Result<Self>

source§

impl<'a> DecodeValue<'a> for u16

source§

fn decode_value<R: Reader<'a>>(reader: &mut R, header: Header) -> Result<Self>

source§

impl<'a, T, const N: usize> DecodeValue<'a> for [T; N]where T: Decode<'a>,

source§

fn decode_value<R: Reader<'a>>(reader: &mut R, header: Header) -> Result<Self>

source§

impl<'a> DecodeValue<'a> for u8

source§

fn decode_value<R: Reader<'a>>(reader: &mut R, header: Header) -> Result<Self>

source§

impl<'a> DecodeValue<'a> for bool

source§

fn decode_value<R: Reader<'a>>(reader: &mut R, header: Header) -> Result<Self>

source§

impl<'a> DecodeValue<'a> for u32

source§

fn decode_value<R: Reader<'a>>(reader: &mut R, header: Header) -> Result<Self>

source§

impl<'a> DecodeValue<'a> for i64

source§

fn decode_value<R: Reader<'a>>(reader: &mut R, header: Header) -> Result<Self>

source§

impl<'a> DecodeValue<'a> for i128

source§

fn decode_value<R: Reader<'a>>(reader: &mut R, header: Header) -> Result<Self>

source§

impl<'a, T> DecodeValue<'a> for Vec<T>where T: Decode<'a>,

source§

fn decode_value<R: Reader<'a>>(reader: &mut R, header: Header) -> Result<Self>

source§

impl<'a> DecodeValue<'a> for String

source§

fn decode_value<R: Reader<'a>>(reader: &mut R, header: Header) -> Result<Self>

Implementors§

source§

impl<'a> DecodeValue<'a> for BitString

source§

impl<'a> DecodeValue<'a> for BitStringRef<'a>

source§

impl<'a> DecodeValue<'a> for GeneralizedTime

source§

impl<'a> DecodeValue<'a> for Ia5StringRef<'a>

source§

impl<'a> DecodeValue<'a> for Null

source§

impl<'a> DecodeValue<'a> for ObjectIdentifier

source§

impl<'a> DecodeValue<'a> for OctetString

source§

impl<'a> DecodeValue<'a> for OctetStringRef<'a>

source§

impl<'a> DecodeValue<'a> for PrintableStringRef<'a>

source§

impl<'a> DecodeValue<'a> for SequenceRef<'a>

source§

impl<'a> DecodeValue<'a> for TeletexStringRef<'a>

source§

impl<'a> DecodeValue<'a> for UIntRef<'a>

source§

impl<'a> DecodeValue<'a> for UtcTime

source§

impl<'a> DecodeValue<'a> for Utf8StringRef<'a>

source§

impl<'a> DecodeValue<'a> for VideotexStringRef<'a>

source§

impl<'a> DecodeValue<'a> for DateTime

source§

impl<'a, T> DecodeValue<'a> for SetOfVec<T>where T: Decode<'a> + DerOrd,

source§

impl<'a, T, const N: usize> DecodeValue<'a> for SequenceOf<T, N>where T: Decode<'a>,

source§

impl<'a, T, const N: usize> DecodeValue<'a> for SetOf<T, N>where T: Decode<'a> + DerOrd,