Expand description
wRPC transport stream framing
Modules§
Structs§
- Decoder
- Frame decoder
- Encoder
- Frame encoder
- Frame
- Owned wRPC frame
- Frame
Ref - wRPC frame reference
- Header
- wRPC invocation header
- Incoming
- Incoming framed stream
- Invoke
Builder - Defines invocation behavior
- Oneshot
- Invoke implementation in terms of a single stream pair.
- Outgoing
- Outgoing framed stream
- Server
- wRPC server for framed transports
Enums§
- Accept
Error - Error returned by
Server::accept - Header
Read Error - Error returned by
Header::read
Constants§
- PROTOCOL
- Framing protocol version
Traits§
- Conn
Handler - Connection handler defines the connection I/O behavior.
It is mostly useful for transports that may require additional clean up not already covered
by
AsyncWriteExt::shutdown, for example. This API is experimental and may change in backwards-incompatible ways in the future.
Functions§
- encode_
invocation - Encodes the header of an invocation, which is followed by
params_lenbytes of parameters, to aBytesMut - invoke
- Invoke function
funcon instanceinstance