Crate quic_rpc_utils
source ·Macros§
- Pins a value on the stack.
Structs§
- Bidirectional streaming interaction pattern
- Client streaming interaction pattern
- The
Errortype, a wrapper around a dynamic error type. - A flume based connection to a server endpoint.
- A flume based server endpoint.
- A channel for requests and responses for a specific service.
- A client for a specific service
- A server channel for a specific service.
- The Tokio runtime.
- Server streaming interaction pattern
- Sink that can be used to send updates to the server for the two interaction patterns that support it, crate::message::ClientStreaming and crate::message::BidiStreaming.
Enums§
- Server error when accepting a bidi request
- Server error when receiving an item for a bidi request
- Server error when accepting a client streaming request
- Server error when receiving an item for a client streaming request
- Client error. All client DSL methods return a
Resultwith this error type. - Server error when accepting a server streaming request
- Client error when handling responses from a server streaming request
Traits§
- Defines update type and response type for a bidi streaming message.
- Defines update type and response type for a client streaming message.
- Errors that can happen when creating and using a
ConnectionorServerEndpoint. - 获取特定服务的处理程序
- Declares the interaction pattern for a message and a service.
- Requirements for a RPC message
- Defines the response type for a rpc message.
- Defines response type for a server streaming message.
- A service
- A connection to a specific service on a specific remote machine
- A server endpoint for a specific service
- 服务的处理程序
- A stream of values produced asynchronously.
- Extension trait for
Stream.
Functions§
- Create a channel with a maximum capacity.
- Create a flume server endpoint and a connected flume client channel.
Type Aliases§
- Sync version of
future::stream::BoxStream. Result<T, Error>