Enum dhcproto::v6::OptionCode
source · pub enum OptionCode {
Show 135 variants
ClientId,
ServerId,
IANA,
IATA,
IAAddr,
ORO,
Preference,
ElapsedTime,
RelayMsg,
Authentication,
ServerUnicast,
StatusCode,
RapidCommit,
UserClass,
VendorClass,
VendorOpts,
InterfaceId,
ReconfMsg,
ReconfAccept,
SipServerD,
SipServerA,
DomainNameServers,
DomainSearchList,
IAPD,
IAPrefix,
NisServers,
NispServers,
NisDomainName,
NispDomainName,
SntpServers,
InformationRefreshTime,
BcmcsServerD,
BcmcsServerA,
GeoconfCivic,
RemoteId,
SubscriberId,
ClientFqdn,
PanaAgent,
NewPosixTimezone,
NewTzdbTimezone,
ERO,
LqQuery,
ClientData,
CltTime,
LqRelayData,
LqClientLink,
Mip6Hnidf,
Mip6Vdinf,
V6Lost,
CapwapAcV6,
RelayId,
Ipv6AddressMoS,
Ipv6FQDNMoS,
NtpServer,
V6AccessDomain,
SipUaCsList,
OptBootfileUrl,
OptBootfileParam,
ClientArchType,
Nii,
Geolocation,
AftrName,
ErpLocalDomainName,
Rsoo,
PdExclude,
Vss,
Mip6Idinf,
Mip6Udinf,
Mip6Hnp,
Mip6Haa,
Mip6Haf,
RdnssSelection,
KrbPrincipalName,
KrbRealmName,
KrbDefaultRealmName,
KrbKdc,
ClientLinklayerAddr,
LinkAddress,
Radius,
SolMaxRt,
InfMaxRt,
Addrsel,
AddrselTable,
V6PcpServer,
Dhcpv4Msg,
Dhcp4ODhcp6Server,
S46Rule,
S46Br,
S46Dmr,
S46V4v6bind,
S46Portparams,
S46ContMape,
S46ContMapt,
S46ContLw,
_4Rd,
_4RdMapRule,
_4RdNonMapRule,
LqBaseTime,
LqStartTime,
LqEndTime,
DhcpCaptivePortal,
MplParameters,
AniAtt,
AniNetworkName,
AniApName,
AniApBssid,
AniOperatorId,
AniOperatorRealm,
S46Priority,
MudUrlV6,
V6Prefix64,
FBindingStatus,
FConnectFlags,
Fdnsremovalinfo,
FDNSHostName,
FDNSZoneName,
Fdnsflags,
Fexpirationtime,
FMaxUnackedBndupd,
FMclt,
FPartnerLifetime,
FPartnerLifetimeSent,
FPartnerDownTime,
FPartnerRawCltTime,
FProtocolVersion,
FKeepaliveTime,
FReconfigureData,
FRelationshipName,
FServerFlags,
FServerState,
FStartTimeOfState,
FStateExpirationTime,
RelayPort,
Ipv6AddressANDSF,
Unknown(u16),
}
Expand description
option code type
Variants§
ClientId
ServerId
IANA
IATA
IAAddr
ORO
Preference
ElapsedTime
RelayMsg
Authentication
ServerUnicast
StatusCode
RapidCommit
UserClass
VendorClass
VendorOpts
InterfaceId
ReconfMsg
ReconfAccept
SipServerD
SipServerA
DomainNameServers
DomainSearchList
IAPD
IAPrefix
NisServers
NispServers
NisDomainName
NispDomainName
SntpServers
InformationRefreshTime
BcmcsServerD
BcmcsServerA
GeoconfCivic
RemoteId
SubscriberId
ClientFqdn
PanaAgent
NewPosixTimezone
NewTzdbTimezone
ERO
LqQuery
ClientData
CltTime
LqRelayData
LqClientLink
Mip6Hnidf
Mip6Vdinf
V6Lost
CapwapAcV6
RelayId
Ipv6AddressMoS
Ipv6FQDNMoS
NtpServer
V6AccessDomain
SipUaCsList
OptBootfileUrl
OptBootfileParam
ClientArchType
Nii
Geolocation
AftrName
ErpLocalDomainName
Rsoo
PdExclude
Vss
Mip6Idinf
Mip6Udinf
Mip6Hnp
Mip6Haa
Mip6Haf
RdnssSelection
KrbPrincipalName
KrbRealmName
KrbDefaultRealmName
KrbKdc
ClientLinklayerAddr
LinkAddress
Radius
SolMaxRt
InfMaxRt
Addrsel
AddrselTable
V6PcpServer
Dhcpv4Msg
Dhcp4ODhcp6Server
S46Rule
S46Br
S46Dmr
S46V4v6bind
S46Portparams
S46ContMape
S46ContMapt
S46ContLw
_4Rd
_4RdMapRule
_4RdNonMapRule
LqBaseTime
LqStartTime
LqEndTime
DhcpCaptivePortal
MplParameters
AniAtt
AniNetworkName
AniApName
AniApBssid
AniOperatorId
AniOperatorRealm
S46Priority
MudUrlV6
V6Prefix64
FBindingStatus
FConnectFlags
Fdnsremovalinfo
FDNSHostName
FDNSZoneName
Fdnsflags
Fexpirationtime
FMaxUnackedBndupd
FMclt
FPartnerLifetime
FPartnerLifetimeSent
FPartnerDownTime
FPartnerRawCltTime
FProtocolVersion
FKeepaliveTime
FReconfigureData
FRelationshipName
FServerFlags
FServerState
FStartTimeOfState
FStateExpirationTime
RelayPort
Ipv6AddressANDSF
Unknown(u16)
Trait Implementations§
source§impl Clone for OptionCode
impl Clone for OptionCode
source§fn clone(&self) -> OptionCode
fn clone(&self) -> OptionCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OptionCode
impl Debug for OptionCode
source§impl From<&DhcpOption> for OptionCode
impl From<&DhcpOption> for OptionCode
source§fn from(opt: &DhcpOption) -> Self
fn from(opt: &DhcpOption) -> Self
Converts to this type from the input type.
source§impl From<OROCode> for OptionCode
impl From<OROCode> for OptionCode
source§fn from(opt: OROCode) -> OptionCode
fn from(opt: OROCode) -> OptionCode
Converts to this type from the input type.
source§impl From<OptionCode> for u16
impl From<OptionCode> for u16
source§fn from(opt: OptionCode) -> Self
fn from(opt: OptionCode) -> Self
Converts to this type from the input type.
source§impl From<u16> for OptionCode
impl From<u16> for OptionCode
source§impl Hash for OptionCode
impl Hash for OptionCode
source§impl Ord for OptionCode
impl Ord for OptionCode
source§impl PartialEq for OptionCode
impl PartialEq for OptionCode
source§fn eq(&self, other: &OptionCode) -> bool
fn eq(&self, other: &OptionCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OptionCode
impl PartialOrd for OptionCode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<OptionCode> for OROCode
impl TryFrom<OptionCode> for OROCode
impl Copy for OptionCode
impl Eq for OptionCode
impl StructuralEq for OptionCode
impl StructuralPartialEq for OptionCode
Auto Trait Implementations§
impl RefUnwindSafe for OptionCode
impl Send for OptionCode
impl Sync for OptionCode
impl Unpin for OptionCode
impl UnwindSafe for OptionCode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more