Enum dhcproto::v6::OptionCode[][src]

pub enum OptionCode {
Show 24 variants ClientId, ServerId, IANA, IATA, IAAddr, ORO, Preference, ElapsedTime, RelayMsg, Authentication, ServerUnicast, StatusCode, RapidCommit, UserClass, VendorClass, VendorOpts, InterfaceId, ReconfMsg, ReconfAccept, DNSNameServer, DomainSearchList, IAPD, IAPDPrefix, Unknown(u16),
}
Expand description

option code type

Variants

ClientId

1

ServerId

2

IANA

3

IATA

4

IAAddr

5

ORO

6

Preference

7

ElapsedTime

8

RelayMsg

9

Authentication

11

ServerUnicast

12

StatusCode

13

RapidCommit

14

UserClass

15

VendorClass

16

VendorOpts

17

InterfaceId

18

ReconfMsg

19

ReconfAccept

20

DNSNameServer

23

DomainSearchList

24

IAPD

25

IAPDPrefix

26

Unknown(u16)

Tuple Fields

0: u16

an unknown or unimplemented option type

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

Performs the conversion.

Performs the conversion.

Performs the conversion.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

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)

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.