Trait der::EncodeValue
source · pub trait EncodeValue {
// Required methods
fn value_len(&self) -> Result<Length>;
fn encode_value(&self, encoder: &mut impl Writer) -> Result<()>;
// Provided method
fn header(&self) -> Result<Header>
where Self: Tagged { ... }
}
Expand description
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl EncodeValue for bool
impl EncodeValue for bool
source§impl EncodeValue for f64
Available on crate feature real
only.
impl EncodeValue for f64
Available on crate feature
real
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 str
impl EncodeValue for str
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 String
Available on crate feature alloc
only.
impl EncodeValue for String
Available on crate feature
alloc
only.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 Bytes
Available on crate feature bytes
only.
impl EncodeValue for Bytes
Available on crate feature
bytes
only.source§impl EncodeValue for PrimitiveDateTime
Available on crate feature time
only.
impl EncodeValue for PrimitiveDateTime
Available on crate feature
time
only.source§impl<T> EncodeValue for Box<T>where
T: EncodeValue,
Available on crate feature alloc
only.
impl<T> EncodeValue for Box<T>where
T: EncodeValue,
Available on crate feature
alloc
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<T: Flags> EncodeValue for FlagSet<T>
Available on crate feature flagset
only.
impl<T: Flags> EncodeValue for FlagSet<T>
Available on crate feature
flagset
only.Implementors§
impl EncodeValue for Any
Available on crate feature
alloc
only.impl EncodeValue for AnyRef<'_>
impl EncodeValue for BitString
Available on crate feature
alloc
only.impl EncodeValue for BitStringRef<'_>
impl EncodeValue for BmpString
Available on crate feature
alloc
only.impl EncodeValue for GeneralizedTime
impl EncodeValue for Ia5String
Available on crate feature
alloc
only.impl EncodeValue for Int
Available on crate feature
alloc
only.impl EncodeValue for Null
impl EncodeValue for ObjectIdentifier
Available on crate feature
oid
only.impl EncodeValue for OctetString
Available on crate feature
alloc
only.impl EncodeValue for OctetStringRef<'_>
impl EncodeValue for PrintableString
Available on crate feature
alloc
only.impl EncodeValue for SequenceRef<'_>
impl EncodeValue for TeletexString
Available on crate feature
alloc
only.impl EncodeValue for Uint
Available on crate feature
alloc
only.impl EncodeValue for UtcTime
impl EncodeValue for DateTime
impl<'a> EncodeValue for Ia5StringRef<'a>
impl<'a> EncodeValue for IntRef<'a>
impl<'a> EncodeValue for PrintableStringRef<'a>
impl<'a> EncodeValue for TeletexStringRef<'a>
impl<'a> EncodeValue for UintRef<'a>
impl<'a> EncodeValue for Utf8StringRef<'a>
impl<'a> EncodeValue for VideotexStringRef<'a>
impl<'a, T> EncodeValue for ContextSpecificRef<'a, T>where
T: EncodeValue + Tagged,
impl<'a, T> EncodeValue for SetOfVec<T>
Available on crate feature
alloc
only.