Module message_io::network

source ·
Expand description

It contains all the resources and tools to create and manage connections.

Re-exports§

Modules§

  • Module that specify the pattern to follow to create adapters. This module is not part of the public API itself, it must be used from the internals to build new adapters.

Structs§

  • Information to identify the remote endpoint. The endpoint is used mainly as a connection identified.
  • Shareable instance in charge of control all the connections.
  • Instance in charge of process input network events. These events are offered to the user as a NetEvent its processing data.
  • Unique identifier of a network resource in your system. The identifier wrap 3 values,

Enums§

Traits§

  • Similar to ToSocketAddrs but for a RemoteAddr. Instead of ToSocketAddrs that only can accept valid ‘ip:port’ string format, ToRemoteAddr accept any string without panic. If the string has the ‘ip:port’ format, it will be interpreted as a SocketAddr, if not, it will be interpreted as a string.

Functions§

  • Create a network instance giving its controller and processor.