Trait der::EncodeValue
source · pub trait EncodeValue {
fn value_len(&self) -> Result<Length>;
fn encode_value(&self, encoder: &mut dyn Writer) -> Result<()>;
fn header(&self) -> Result<Header>
where
Self: Tagged,
{ ... }
}
Expand description
Required Methods§
Provided Methods§
Implementations on Foreign Types§
source§impl<T: Flags> EncodeValue for FlagSet<T>where
T::Type: From<bool> + Shl<usize, Output = T::Type>,
u128: From<T::Type>,
impl<T: Flags> EncodeValue for FlagSet<T>where
T::Type: From<bool> + Shl<usize, Output = T::Type>,
u128: From<T::Type>,
source§impl EncodeValue for bool
impl EncodeValue for bool
source§impl EncodeValue for SystemTime
Available on crate feature std
only.
impl EncodeValue for SystemTime
Available on crate feature
std
only.source§impl EncodeValue for PrimitiveDateTime
Available on crate feature time
only.
impl EncodeValue for PrimitiveDateTime
Available on crate feature
time
only.source§impl EncodeValue for i8
impl EncodeValue for i8
source§impl EncodeValue for i16
impl EncodeValue for i16
source§impl EncodeValue for i32
impl EncodeValue for i32
source§impl EncodeValue for i64
impl EncodeValue for i64
source§impl EncodeValue for i128
impl EncodeValue for i128
source§impl EncodeValue for u8
impl EncodeValue for u8
source§impl EncodeValue for u16
impl EncodeValue for u16
source§impl EncodeValue for u32
impl EncodeValue for u32
source§impl EncodeValue for u64
impl EncodeValue for u64
source§impl EncodeValue for u128
impl EncodeValue for u128
source§impl EncodeValue for ()
impl EncodeValue for ()
source§impl EncodeValue for f64
Available on crate feature real
only.
impl EncodeValue for f64
Available on crate feature
real
only.source§impl<T> EncodeValue for Vec<T>where
T: Encode,
Available on crate feature alloc
only.
impl<T> EncodeValue for Vec<T>where
T: Encode,
Available on crate feature
alloc
only.source§impl EncodeValue for str
impl EncodeValue for str
source§impl EncodeValue for String
Available on crate feature alloc
only.
impl EncodeValue for String
Available on crate feature
alloc
only.Implementors§
impl EncodeValue for Any
impl EncodeValue for AnyRef<'_>
impl EncodeValue for BitString
impl EncodeValue for BitStringRef<'_>
impl EncodeValue for GeneralizedTime
impl EncodeValue for Ia5StringRef<'_>
impl EncodeValue for Null
impl EncodeValue for ObjectIdentifier
impl EncodeValue for OctetString
impl EncodeValue for OctetStringRef<'_>
impl EncodeValue for SequenceRef<'_>
impl EncodeValue for UtcTime
impl EncodeValue for Utf8StringRef<'_>
impl EncodeValue for DateTime
impl<'a> EncodeValue for PrintableStringRef<'a>
impl<'a> EncodeValue for TeletexStringRef<'a>
impl<'a> EncodeValue for UIntRef<'a>
impl<'a> EncodeValue for VideotexStringRef<'a>
impl<'a, M> EncodeValue for Mwhere
M: Sequence<'a>,
impl<'a, T> EncodeValue for ContextSpecificRef<'a, T>where
T: EncodeValue + Tagged,
impl<'a, T> EncodeValue for SetOfVec<T>where
T: 'a + Decode<'a> + Encode + DerOrd,
Available on crate feature
alloc
only.