Module tor_rtmock::net
source · Expand description
Implements a simple mock network for testing purposes.
Structs§
- A
TcpListener
implementation returned by aMockNetProvider
. - A view of a single host’s access to a MockNetwork.
- A simulated Internet, for testing.
- Mock TLS connector for use with MockNetProvider.
- Mock TLS connector for use with MockNetProvider.
- A very poor imitation of a UDP socket
- A builder object used to configure a
MockNetProvider
Enums§
- Inner error type returned when a
MockNetwork
operation fails.