picky_asn1::date

Trait TimeRepr

Source
pub trait TimeRepr
where Self: Sized,
{ // Required methods fn serialize<S>( date: &Date<Self>, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where S: Serializer; fn deserialize<'de, D>( deserializer: D, ) -> Result<Date<Self>, <D as Deserializer<'de>>::Error> where D: Deserializer<'de>; }

Required Methods§

Source

fn serialize<S>( date: &Date<Self>, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

Source

fn deserialize<'de, D>( deserializer: D, ) -> Result<Date<Self>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

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.

Implementors§