pub struct ClientConfig {
pub information_config: InformationConfig,
pub non_temporary_address_config: AddressConfig,
pub prefix_delegation_config: Option<PrefixDelegationConfig>,
}
Expand description
Configuration for what the client should request from DHCPv6 server(s).
Fields§
§information_config: InformationConfig
Configuration for requesting configuration information.
See fidl_fuchsia_net_dhcpv6::ClientConfig::information_config
.
non_temporary_address_config: AddressConfig
Non-temporary address configuration.
Configures the client to negotiate non-temporary addresses (IA_NA), as defined in RFC 8415, section 6.2.
See fidl_fuchsia_net_dhcpv6::ClientConfig::non_temporary_address_config
.
prefix_delegation_config: Option<PrefixDelegationConfig>
Prefix delegation configuration.
Configures the client to negotiate a delegated prefix (IA_PD), as defined in RFC 8415, section 6.3.
Optional. If not set, delegated prefixes will not be requested. If invalid, client creation will fail and the pipelined channel will be closed.
See fidl_fuchsia_net_dhcpv6::ClientConfig::prefix_delegation_config
.
Trait Implementations§
Source§impl Clone for ClientConfig
impl Clone for ClientConfig
Source§fn clone(&self) -> ClientConfig
fn clone(&self) -> ClientConfig
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 ClientConfig
impl Debug for ClientConfig
Source§impl From<ClientConfig> for ClientConfig
impl From<ClientConfig> for ClientConfig
Source§fn from(src: ClientConfig) -> ClientConfig
fn from(src: ClientConfig) -> ClientConfig
Converts to this type from the input type.
Source§impl PartialEq for ClientConfig
impl PartialEq for ClientConfig
Source§impl TryFrom<ClientConfig> for ClientConfig
impl TryFrom<ClientConfig> for ClientConfig
Source§type Error = ClientConfigValidationError
type Error = ClientConfigValidationError
The type returned in the event of a conversion error.
impl StructuralPartialEq for ClientConfig
Auto Trait Implementations§
impl Freeze for ClientConfig
impl RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl UnwindSafe for ClientConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)