Skip to main content

Crate tokio_ipc

Crate tokio_ipc 

Source

Re-exports§

pub use anyhow;
pub use bincode;
pub use serde;
pub use tokio;
pub use rpc_packet::*;
pub use rpc_network::*;
pub use protocol_id::*;
pub use protocol_registry::*;
pub use multi_protocol::*;

Modules§

multi_protocol
protocol_id
protocol_registry
rpc_macros
rpc_network
rpc_packet

Macros§

paste
protocol
protocol_handler
Macro to create a multi-protocol receiver wrapper This generates a type that impl ReceiveRpcProtocol and dispatches to the right protocol
protocol_sender
Macro to create a multi-protocol sender This generates a sender type that implements all the necessary traits for multiple protocols
registry
Macro for ergonomic protocol registration Usage: registry! { fs_protocol => FsHandler::new(), db_protocol => DbHandler::new(), }
registry_for
Register a single handler that implements multiple protocols Usage: registry_for!(handler, [fs_protocol, db_protocol, metrics_protocol])

Structs§

SharedOption
SocketPeer

Enums§

SocketAddr

Traits§

Deserialize
A data structure that can be deserialized from any data format supported by Serde.
DeserializeOwned
A data structure that can be deserialized without borrowing any data from the deserializer.
Serialize
A data structure that can be serialized into any data format supported by Serde.

Attribute Macros§

async_trait

Derive Macros§

Deserialize
Serialize