Trait DefaultEncodable

Source
pub trait DefaultEncodable:
    Clone
    + Hash
    + Eq
    + PartialEq
    + Serialize
    + for<'a> Deserialize<'a> { }
Available on crate features unicache and serde only.
Expand description

Blanket implementation for types that are encodable by default.

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§

Source§

impl<T: Clone + Hash + Eq + PartialEq + Serialize + for<'a> Deserialize<'a>> DefaultEncodable for T