Trait der::DecodeValue
source · [−]pub trait DecodeValue<'a>: Sized {
fn decode_value(decoder: &mut Decoder<'a>, header: Header) -> Result<Self>;
}
Expand description
Required methods
Implementations on Foreign Types
sourceimpl<'a, T> DecodeValue<'a> for FlagSet<T> where
T: Flags,
T::Type: From<bool>,
T::Type: Shl<usize, Output = T::Type>,
impl<'a, T> DecodeValue<'a> for FlagSet<T> where
T: Flags,
T::Type: From<bool>,
T::Type: Shl<usize, Output = T::Type>,
fn decode_value(decoder: &mut Decoder<'a>, header: Header) -> Result<Self>
sourceimpl<'a> DecodeValue<'a> for bool
impl<'a> DecodeValue<'a> for bool
fn decode_value(decoder: &mut Decoder<'a>, header: Header) -> Result<Self>
sourceimpl DecodeValue<'_> for SystemTime
This is supported on crate feature std
only.
impl DecodeValue<'_> for SystemTime
This is supported on crate feature
std
only.fn decode_value(decoder: &mut Decoder<'_>, header: Header) -> Result<Self>
sourceimpl DecodeValue<'_> for PrimitiveDateTime
This is supported on crate feature time
only.
impl DecodeValue<'_> for PrimitiveDateTime
This is supported on crate feature
time
only.fn decode_value(decoder: &mut Decoder<'_>, header: Header) -> Result<Self>
sourceimpl<'a> DecodeValue<'a> for i8
impl<'a> DecodeValue<'a> for i8
fn decode_value(decoder: &mut Decoder<'a>, header: Header) -> Result<Self>
sourceimpl<'a> DecodeValue<'a> for i16
impl<'a> DecodeValue<'a> for i16
fn decode_value(decoder: &mut Decoder<'a>, header: Header) -> Result<Self>
sourceimpl<'a> DecodeValue<'a> for i32
impl<'a> DecodeValue<'a> for i32
fn decode_value(decoder: &mut Decoder<'a>, header: Header) -> Result<Self>
sourceimpl<'a> DecodeValue<'a> for i64
impl<'a> DecodeValue<'a> for i64
fn decode_value(decoder: &mut Decoder<'a>, header: Header) -> Result<Self>
sourceimpl<'a> DecodeValue<'a> for i128
impl<'a> DecodeValue<'a> for i128
fn decode_value(decoder: &mut Decoder<'a>, header: Header) -> Result<Self>
sourceimpl<'a> DecodeValue<'a> for u8
impl<'a> DecodeValue<'a> for u8
fn decode_value(decoder: &mut Decoder<'a>, header: Header) -> Result<Self>
sourceimpl<'a> DecodeValue<'a> for u16
impl<'a> DecodeValue<'a> for u16
fn decode_value(decoder: &mut Decoder<'a>, header: Header) -> Result<Self>
sourceimpl<'a> DecodeValue<'a> for u32
impl<'a> DecodeValue<'a> for u32
fn decode_value(decoder: &mut Decoder<'a>, header: Header) -> Result<Self>
sourceimpl<'a> DecodeValue<'a> for u64
impl<'a> DecodeValue<'a> for u64
fn decode_value(decoder: &mut Decoder<'a>, header: Header) -> Result<Self>
sourceimpl<'a> DecodeValue<'a> for u128
impl<'a> DecodeValue<'a> for u128
fn decode_value(decoder: &mut Decoder<'a>, header: Header) -> Result<Self>
sourceimpl DecodeValue<'_> for ()
impl DecodeValue<'_> for ()
fn decode_value(decoder: &mut Decoder<'_>, header: Header) -> Result<Self>
sourceimpl<'a, T, const N: usize> DecodeValue<'a> for [T; N] where
T: Decodable<'a>,
impl<'a, T, const N: usize> DecodeValue<'a> for [T; N] where
T: Decodable<'a>,
fn decode_value(decoder: &mut Decoder<'a>, header: Header) -> Result<Self>
sourceimpl<'a, T> DecodeValue<'a> for Vec<T> where
T: Decodable<'a>,
This is supported on crate feature alloc
only.
impl<'a, T> DecodeValue<'a> for Vec<T> where
T: Decodable<'a>,
This is supported on crate feature
alloc
only.fn decode_value(decoder: &mut Decoder<'a>, header: Header) -> Result<Self>
Implementors
impl DecodeValue<'_> for GeneralizedTime
impl DecodeValue<'_> for Null
impl DecodeValue<'_> for ObjectIdentifier
impl DecodeValue<'_> for UtcTime
impl DecodeValue<'_> for DateTime
impl<'a> DecodeValue<'a> for BitString<'a>
impl<'a> DecodeValue<'a> for Ia5String<'a>
impl<'a> DecodeValue<'a> for OctetString<'a>
impl<'a> DecodeValue<'a> for PrintableString<'a>
impl<'a> DecodeValue<'a> for SequenceRef<'a>
impl<'a> DecodeValue<'a> for UIntBytes<'a>
impl<'a> DecodeValue<'a> for Utf8String<'a>
impl<'a, T> DecodeValue<'a> for SetOfVec<T> where
T: Decodable<'a> + DerOrd,
This is supported on crate feature
alloc
only.