Module fizyr_rpc::util[][src]

Expand description

Utility traits.

The traits in this module are used to implement utility functions on Peer and Server. You do not normally need to use these traits directly.

However, if you wish to implement a custom transport, you may also wish to implement these traits.

Structs

Accept

Future type returned by Listener::accept.

Traits

Bind

Trait for creating a new listener bound to a specific address.

Connect

Trait for connecting transports to a remote address.

IntoTransport

Trait to allow generic creation of transports from a socket.

Listener

Trait for listeners that can accept new connections.