Module netstack3_core::tcp

source ·
Expand description

Methods for dealing with TCP sockets.





  • Common super trait for both sending and receiving buffer.
  • A conversion trait that converts the object that Bindings give us into a pair of receive and send buffers.
  • A notifier used to tell Bindings about new pending connections for a single socket.
  • A TCP payload that operates around u32 instead of usize.
  • A buffer supporting TCP receiving operations.
  • A buffer supporting TCP sending operations.
  • Allows the implementor to be replaced by an empty value. The semantics is similar to core::mem::take, except that for some types it is not sensible to implement Default for the target type. This can be useful in state transitions, but replace_with might be a better choice.
  • Bindings types for TCP.