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 f64

Available on crate feature real only.
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

Available on crate feature alloc only.
source§

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

source§

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

Available on crate feature std only.
source§

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

source§

impl<'a> DecodeValue<'a> for Bytes

Available on crate feature bytes only.
source§

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

source§

impl<'a> DecodeValue<'a> for PrimitiveDateTime

Available on crate feature time only.
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>,

Available on crate feature alloc only.
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>,

Available on crate feature alloc only.
source§

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

source§

impl<'a, T> DecodeValue<'a> for FlagSet<T>
where T: Flags, T::Type: From<bool> + Shl<usize, Output = T::Type>,

Available on crate feature flagset only.
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

Available on crate feature alloc only.
source§

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

Available on crate feature alloc only.
source§

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

Available on crate feature alloc only.
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

Available on crate feature alloc only.
source§

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

source§

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

Available on crate feature alloc only.
source§

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

source§

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

Available on crate feature alloc only.
source§

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

source§

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

Available on crate feature alloc only.
source§

impl<'a> DecodeValue<'a> for IntRef<'a>

source§

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

source§

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

Available on crate feature oid only.
source§

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

Available on crate feature alloc only.
source§

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

source§

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

source§

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

Available on crate feature alloc only.
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,

Available on crate feature alloc only.
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,