Expand description
Defines abstractions for platform dependencies such as sockets and time. Defines trait abstractions for platform dependencies of the DHCP client core, and provides fake implementations of these dependencies for testing purposes.
Structs§
- Datagram
Info - Contains information about a datagram received on a socket.
Enums§
- Socket
Error - Errors encountered while performing a socket operation.
Traits§
- Clock
- Provides access to system-time-related operations.
- Instant
- A type representing an instant in time.
- Packet
Socket Provider - Provides access to AF_PACKET sockets.
- RngProvider
- Provides access to random number generation.
- Socket
- Abstracts sending and receiving datagrams on a socket.
- UdpSocket
Provider - Provides access to UDP sockets.