netemul

Trait DhcpClient

Source
pub trait DhcpClient {
    const DHCP_CLIENT_VERSION: DhcpClientVersion;
}
Expand description

Abstraction for how DHCP client functionality is provided.

Required Associated Constants§

Source

const DHCP_CLIENT_VERSION: DhcpClientVersion

The DHCP client version to be used.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl DhcpClient for InStack

Source§

const DHCP_CLIENT_VERSION: DhcpClientVersion = DhcpClientVersion::InStack

Source§

impl DhcpClient for OutOfStack

Source§

const DHCP_CLIENT_VERSION: DhcpClientVersion = DhcpClientVersion::OutOfStack