Crate de_net

source ·

Modules§

  • connection 🔒
  • header 🔒
  • protocol 🔒
  • record 🔒
  • socket 🔒
  • tasks 🔒
    This module implements full networking stack. The stack is implemented as a set of asynchronous tasks communicating via channels.

Structs§

  • Channel into networking stack tasks, used for receiving connection errors.
  • This error indicates failure to deliver a package to the target.
  • A received message / datagram.
  • An iterator which decodes binary input data item by item.
  • A package to be send.
  • It cumulatively builds output packages from individual messages.
  • Iterator over already build packages.
  • Channel into networking stack tasks, used for data receiving.
  • Channel into networking stack tasks, used for data sending.
  • This struct represents a low level network socket. The socket is based on UDP and thus provides unreliable and unordered means of data delivery.

Enums§

Constants§

Functions§

  • Setups and starts communication stack tasks and returns communication channels for data sending, data retrieval, and error retrieval.