pub trait DecodeValue<'a>: Sized {
// Required method
fn decode_value<R>(reader: &mut R, header: Header) -> Result<Self, Error>
where R: Reader<'a>;
}
Available on crate feature
pkcs8
only.Expand description
Decode the value part of a Tag-Length-Value encoded field, sans the [Tag
]
and [Length
].
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
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
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.fn decode_value<R>(reader: &mut R, header: Header) -> Result<SystemTime, Error>where
R: Reader<'a>,
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.Implementors§
impl<'__der> DecodeValue<'__der> for Ia5String
impl<'__der> DecodeValue<'__der> for PrintableString
impl<'__der> DecodeValue<'__der> for TeletexString
impl<'__der, 'a> DecodeValue<'__der> for Ia5StringRef<'a>where
'__der: 'a,
impl<'__der, 'a> DecodeValue<'__der> for PrintableStringRef<'a>where
'__der: 'a,
impl<'__der, 'a> DecodeValue<'__der> for TeletexStringRef<'a>where
'__der: 'a,
impl<'__der, 'a> DecodeValue<'__der> for Utf8StringRef<'a>where
'__der: 'a,
impl<'__der, 'a> DecodeValue<'__der> for VideotexStringRef<'a>where
'__der: 'a,
impl<'a> DecodeValue<'a> for BitStringRef<'a>
impl<'a> DecodeValue<'a> for ObjectIdentifier
impl<'a> DecodeValue<'a> for PrivateKeyInfo<'a>
impl<'a> DecodeValue<'a> for BitString
impl<'a> DecodeValue<'a> for BmpString
impl<'a> DecodeValue<'a> for GeneralizedTime
impl<'a> DecodeValue<'a> for Int
impl<'a> DecodeValue<'a> for IntRef<'a>
impl<'a> DecodeValue<'a> for Null
impl<'a> DecodeValue<'a> for OctetString
impl<'a> DecodeValue<'a> for OctetStringRef<'a>
impl<'a> DecodeValue<'a> for SequenceRef<'a>
impl<'a> DecodeValue<'a> for Uint
impl<'a> DecodeValue<'a> for UintRef<'a>
impl<'a> DecodeValue<'a> for UtcTime
impl<'a> DecodeValue<'a> for Any
impl<'a> DecodeValue<'a> for AnyRef<'a>
impl<'a> DecodeValue<'a> for DateTime
impl<'a, 'k, Params, Key> DecodeValue<'a> for SubjectPublicKeyInfo<Params, Key>
impl<'a, Params> DecodeValue<'a> for AlgorithmIdentifier<Params>where
Params: Choice<'a>,
impl<'a, T> DecodeValue<'a> for SetOfVec<T>
Available on crate feature
alloc
only.