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.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

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 i8

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 i32

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> DecodeValue<'a> for u8

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> DecodeValue<'a> for u32

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 u128

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 String

source§

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

source§

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

source§

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

source§

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

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, 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>

Implementors§

source§

impl<'__der> DecodeValue<'__der> for Ia5String

source§

impl<'__der> DecodeValue<'__der> for PrintableString

source§

impl<'__der> DecodeValue<'__der> for TeletexString

source§

impl<'__der: 'a, 'a> DecodeValue<'__der> for Ia5StringRef<'a>

source§

impl<'__der: 'a, 'a> DecodeValue<'__der> for PrintableStringRef<'a>

source§

impl<'__der: 'a, 'a> DecodeValue<'__der> for TeletexStringRef<'a>

source§

impl<'__der: 'a, 'a> DecodeValue<'__der> for Utf8StringRef<'a>

source§

impl<'__der: 'a, 'a> DecodeValue<'__der> for VideotexStringRef<'a>

source§

impl<'a> DecodeValue<'a> for Any

source§

impl<'a> DecodeValue<'a> for AnyRef<'a>

source§

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

source§

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

source§

impl<'a> DecodeValue<'a> for BmpString

source§

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

source§

impl<'a> DecodeValue<'a> for Int

source§

impl<'a> DecodeValue<'a> for IntRef<'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 SequenceRef<'a>

source§

impl<'a> DecodeValue<'a> for Uint

source§

impl<'a> DecodeValue<'a> for UintRef<'a>

source§

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

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,