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

ClientId(Vec<u8>)

Tuple Fields of ClientId

0: Vec<u8>
ServerId(Vec<u8>)

Tuple Fields of ServerId

0: Vec<u8>
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

0: Authentication
ServerUnicast(ServerUnicast)

Tuple Fields of ServerUnicast

0: ServerUnicast
StatusCode(StatusCode)

Tuple Fields of StatusCode

0: StatusCode
RapidCommit
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
ReconfAccept
DNSNameServer(Vec<Ipv6Addr>)

Tuple Fields of DNSNameServer

0: Vec<Ipv6Addr>
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

0: UnknownOption

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.