pub trait DecodeValue<'a>: Sized {
// Required method
fn decode_value<R: Reader<'a>>(
reader: &mut R,
header: Header,
) -> Result<Self>;
}Expand description
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<'a, T> DecodeValue<'a> for Box<T>where
T: DecodeValue<'a>,
Available on crate feature alloc only.
impl<'a, T> DecodeValue<'a> for Box<T>where
T: DecodeValue<'a>,
Available on crate feature
alloc only.Source§impl<'a, T> DecodeValue<'a> for Vec<T>where
T: Decode<'a>,
Available on crate feature alloc only.
impl<'a, T> DecodeValue<'a> for Vec<T>where
T: Decode<'a>,
Available on crate feature
alloc only.Source§impl<'a> DecodeValue<'a> for ()
impl<'a> DecodeValue<'a> for ()
Source§impl<'a> DecodeValue<'a> for String
Available on crate feature alloc only.
impl<'a> DecodeValue<'a> for String
Available on crate feature
alloc only.Source§impl<'a> DecodeValue<'a> for SystemTime
Available on crate feature std only.
impl<'a> DecodeValue<'a> for SystemTime
Available on crate feature
std only.Source§impl<'a> DecodeValue<'a> for bool
impl<'a> DecodeValue<'a> for bool
Source§impl<'a> DecodeValue<'a> for i8
impl<'a> DecodeValue<'a> for i8
Source§impl<'a> DecodeValue<'a> for i16
impl<'a> DecodeValue<'a> for i16
Source§impl<'a> DecodeValue<'a> for i32
impl<'a> DecodeValue<'a> for i32
Source§impl<'a> DecodeValue<'a> for i64
impl<'a> DecodeValue<'a> for i64
Source§impl<'a> DecodeValue<'a> for i128
impl<'a> DecodeValue<'a> for i128
Source§impl<'a> DecodeValue<'a> for u8
impl<'a> DecodeValue<'a> for u8
Source§impl<'a> DecodeValue<'a> for u16
impl<'a> DecodeValue<'a> for u16
Source§impl<'a> DecodeValue<'a> for u32
impl<'a> DecodeValue<'a> for u32
Source§impl<'a> DecodeValue<'a> for u64
impl<'a> DecodeValue<'a> for u64
Source§impl<'a> DecodeValue<'a> for u128
impl<'a> DecodeValue<'a> for u128
Implementors§
impl<'__der: 'a, 'a> DecodeValue<'__der> for Ia5StringRef<'a>
impl<'__der: 'a, 'a> DecodeValue<'__der> for PrintableStringRef<'a>
impl<'__der: 'a, 'a> DecodeValue<'__der> for TeletexStringRef<'a>
impl<'__der: 'a, 'a> DecodeValue<'__der> for Utf8StringRef<'a>
impl<'__der: 'a, 'a> DecodeValue<'__der> for VideotexStringRef<'a>
impl<'__der> DecodeValue<'__der> for Ia5String
impl<'__der> DecodeValue<'__der> for PrintableString
impl<'__der> DecodeValue<'__der> for TeletexString
impl<'a, T, const N: usize> DecodeValue<'a> for SequenceOf<T, N>where
T: Decode<'a>,
impl<'a, T, const N: usize> DecodeValue<'a> for SetOf<T, N>
impl<'a, T> DecodeValue<'a> for SetOfVec<T>
Available on crate feature
alloc only.