Module fizyr_rpc::util

source ·
Expand description

Utility traits.

The traits in this module are used to implement utility functions on Peer and Listener. 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

Traits

  • Trait for creating a new listener bound to a specific address.
  • Trait for connecting transports to a remote address.
  • Trait to allow generic creation of transports from a socket.
  • Trait for listeners that can accept new connections.