Enum dhcp4r::options::DhcpOption [−][src]
pub enum DhcpOption {
DhcpMessageType(MessageType),
ServerIdentifier(Ipv4Addr),
ParameterRequestList(Vec<u8>),
RequestedIpAddress(Ipv4Addr),
HostName(String),
Router(Vec<Ipv4Addr>),
DomainNameServer(Vec<Ipv4Addr>),
IpAddressLeaseTime(u32),
SubnetMask(Ipv4Addr),
Message(String),
Unrecognized(RawDhcpOption),
}
Variants
DhcpMessageType(MessageType)
Tuple Fields of DhcpMessageType
0: MessageType
ServerIdentifier(Ipv4Addr)
Tuple Fields of ServerIdentifier
0: Ipv4Addr
RequestedIpAddress(Ipv4Addr)
Tuple Fields of RequestedIpAddress
0: Ipv4Addr
HostName(String)
Tuple Fields of HostName
0: String
IpAddressLeaseTime(u32)
Tuple Fields of IpAddressLeaseTime
0: u32
SubnetMask(Ipv4Addr)
Tuple Fields of SubnetMask
0: Ipv4Addr
Message(String)
Tuple Fields of Message
0: String
Unrecognized(RawDhcpOption)
Tuple Fields of Unrecognized
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.