Crate memory_socket

Source
Expand description

Provides an in-memory socket abstraction.

The memory-socket crate provides the MemoryListener and MemorySocket types which can be thought of as in-memory versions of the standard library TcpListener and TcpStream types.

§Feature flags

Structs§

Incoming
An iterator that infinitely accepts connections on a MemoryListener.
IncomingStream
A Stream that infinitely accepts connections on a MemoryListener.
MemoryListener
An in-memory socket server, listening for connections.
MemorySocket
An in-memory stream between two local sockets.