Module network::transport

source ·

Structs

  • The Connection struct consists of connection metadata and the actual socket for communication.
  • Unique local identifier for a connection.
  • Metadata associated with an established and fully upgraded connection.
  • The common DiemNet Transport.
  • Common context for performing both inbound and outbound connection upgrades.

Constants

Traits

  • A trait alias for “socket-like” things.

Functions

  • Upgrade an inbound connection. This means we run a Noise IK handshake for authentication and then negotiate common supported protocols.