Trait RpcSend

Source
pub trait RpcSend:
    Serialize
    + Clone
    + Debug
    + Send
    + Sync
    + Unpin { }
Expand description

An object that can be sent over RPC.

This marker trait is blanket-implemented for every qualifying type. It is used to indicate that a type can be sent in the body of a JSON-RPC message.

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> RpcSend for T
where T: Serialize + Clone + Debug + Send + Sync + Unpin,