MsgPackSerializable

Trait MsgPackSerializable 

pub trait MsgPackSerializable:
    Serializable
    + FromMsgPack
    + ToMsgPack { }
Expand description

Marker trait combining [Serializable], FromMsgPack, and ToMsgPack.

This trait is automatically implemented for all types that implement [Serializable].

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§

§

impl<T> MsgPackSerializable for T
where T: Serializable,