remoc 0.18.3

🦑 Remote multiplexed objects, channels, observable collections and RPC making remote interactions seamless. Provides multiple remote channels and RPC over TCP, TLS or any other transport.
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::{Serialize, de::DeserializeOwned};

/// An object that is sendable to a remote endpoint.
///
/// This trait is automatically implemented for objects that are
/// serializable, deserializable and sendable between threads.
#[cfg_attr(docsrs, doc(cfg(feature = "rch")))]
pub trait RemoteSend: Send + Serialize + DeserializeOwned + 'static {}

impl<T> RemoteSend for T where T: Send + Serialize + DeserializeOwned + 'static {}