Trait RemoteSend

Source
pub trait RemoteSend:
    Send
    + Serialize
    + DeserializeOwned
    + 'static { }
Available on crate feature rch only.
Expand description

An object that is sendable to a remote endpoint.

This trait is automatically implemented for objects that are serializable, deserializable and sendable between threads.

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> RemoteSend for T
where T: Send + Serialize + DeserializeOwned + 'static,