[−][src]Crate memory_socket
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
async
: Adds async support forMemorySocket
andMemoryListener
Structs
Incoming | An iterator that infinitely |
IncomingStream | A Stream that infinitely accepts connections on a |
MemoryListener | An in-memory socket server, listening for connections. |
MemorySocket | An in-memory stream between two local sockets. |