Skip to main content

Module frame

Module frame 

Source
Expand description

wRPC transport stream framing

Modules§

tcp
wRPC TCP transport
unix
Unix domain socket transport

Structs§

Decoder
Frame decoder
Encoder
Frame encoder
Frame
Owned wRPC frame
FrameRef
wRPC frame reference
Header
wRPC invocation header
Incoming
Incoming framed stream
InvokeBuilder
Defines invocation behavior
Oneshot
Invoke implementation in terms of a single stream pair.
Outgoing
Outgoing framed stream
Server
wRPC server for framed transports

Enums§

AcceptError
Error returned by Server::accept
HeaderReadError
Error returned by Header::read

Constants§

PROTOCOL
Framing protocol version

Traits§

ConnHandler
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_len bytes of parameters, to a BytesMut
invoke
Invoke function func on instance instance