Module deps

Source
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§

DatagramInfo
Contains information about a datagram received on a socket.

Enums§

SocketError
Errors encountered while performing a socket operation.

Traits§

Clock
Provides access to system-time-related operations.
Instant
A type representing an instant in time.
PacketSocketProvider
Provides access to AF_PACKET sockets.
RngProvider
Provides access to random number generation.
Socket
Abstracts sending and receiving datagrams on a socket.
UdpSocketProvider
Provides access to UDP sockets.