Enum dhcproto::v6::DhcpOption [−][src]
pub enum DhcpOption {
Show 23 variants
ClientId(Vec<u8>),
ServerId(Vec<u8>),
IANA(IANA),
IATA(IATA),
IAAddr(IAAddr),
ORO(ORO),
Preference(Preference),
ElapsedTime(ElapsedTime),
RelayMsg(RelayMsg),
Authentication(Authentication),
ServerUnicast(ServerUnicast),
StatusCode(StatusCode),
RapidCommit,
UserClass(UserClass),
VendorClass(VendorClass),
VendorOpts(VendorOpts),
InterfaceId(InterfaceId),
ReconfMsg(ReconfMsg),
ReconfAccept,
DNSNameServer(Vec<Ipv6Addr>),
IAPD(IAPD),
IAPDPrefix(IAPDPrefix),
Unknown(UnknownOption),
}
Expand description
DHCPv6 option types
Variants
IANA(IANA)
Tuple Fields of IANA
0: IANA
IATA(IATA)
Tuple Fields of IATA
0: IATA
IAAddr(IAAddr)
Tuple Fields of IAAddr
0: IAAddr
ORO(ORO)
Tuple Fields of ORO
0: ORO
Preference(Preference)
Tuple Fields of Preference
0: Preference
ElapsedTime(ElapsedTime)
Tuple Fields of ElapsedTime
0: ElapsedTime
RelayMsg(RelayMsg)
Tuple Fields of RelayMsg
0: RelayMsg
Authentication(Authentication)
Tuple Fields of Authentication
ServerUnicast(ServerUnicast)
Tuple Fields of ServerUnicast
StatusCode(StatusCode)
Tuple Fields of StatusCode
0: StatusCode
UserClass(UserClass)
Tuple Fields of UserClass
0: UserClass
VendorClass(VendorClass)
Tuple Fields of VendorClass
0: VendorClass
VendorOpts(VendorOpts)
Tuple Fields of VendorOpts
0: VendorOpts
InterfaceId(InterfaceId)
Tuple Fields of InterfaceId
0: InterfaceId
ReconfMsg(ReconfMsg)
Tuple Fields of ReconfMsg
0: ReconfMsg
IAPD(IAPD)
Tuple Fields of IAPD
0: IAPD
IAPDPrefix(IAPDPrefix)
Tuple Fields of IAPDPrefix
0: IAPDPrefix
Unknown(UnknownOption)
An unknown or unimplemented option type
Tuple Fields of Unknown
Trait Implementations
Read the type from the stream
Returns the object in binary form
Read the type from the stream
encode this type into a new Vec
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DhcpOption
impl Send for DhcpOption
impl Sync for DhcpOption
impl Unpin for DhcpOption
impl UnwindSafe for DhcpOption
Blanket Implementations
Mutably borrows from an owned value. Read more