Expand description
RPC over mezzenger transports.
Go to repository to see code examples and tutorial explaining how to use it.
Re-exports§
pub use crate::consumer::Consume;pub use crate::consumer::StreamRequest;pub use crate::consumer::ValueRequest;pub use atomic_counter;pub use futures;
Modules§
Structs§
- Default
Receive Error Callback - Default ReceiveErrorCallback.
- Default
Send Error Callback - Default SendErrorCallback.
- Join
Handle - An owned permission to join on a task (await its termination).
Enums§
- Error
- RPC error.
- Handling
Strategy - Send/receive error handling strategy.
- Shutdown
Type - Cause of producer/consumer shutdown.
- Timeout
- Timeout future.
Traits§
- Receive
Error Callback - Callback called when producer/consumer encounters an error while trying to receive a message from transport.
- Send
Error Callback - Callback called when producer encounters an error while trying to send a message through transport.
Functions§
- spawn
- Spawns a new asynchronous task, returning a
JoinHandlefor it.
Attribute Macros§
- api
- Macro for marking traits defining api’s interface.