Struct ClientConfig
pub struct ClientConfig {
pub information_config: Option<InformationConfig>,
pub non_temporary_address_config: Option<AddressConfig>,
pub prefix_delegation_config: Option<PrefixDelegationConfig>,
/* private fields */
}
Fields§
§information_config: Option<InformationConfig>
Configuration for requesting configuration information.
If not set, interpreted as empty (no configuration information will be requested).
non_temporary_address_config: Option<AddressConfig>
Non-temporary address configuration.
Configures the client to negotiate non-temporary addresses (IA_NA), as defined in RFC 8415, section 6.2.
If not set, interpreted as a configuration with an address count of 0 (non-temporary addresses will not be negotiated). If invalid, client creation will fail and the pipelined channel will be closed.
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.
Trait Implementations§
§impl Clone for ClientConfig
impl Clone for ClientConfig
§fn clone(&self) -> ClientConfig
fn clone(&self) -> ClientConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for ClientConfig
impl Debug for ClientConfig
§impl<D> Decode<ClientConfig, D> for ClientConfigwhere
D: ResourceDialect,
impl<D> Decode<ClientConfig, D> for ClientConfigwhere
D: ResourceDialect,
§fn new_empty() -> ClientConfig
fn new_empty() -> ClientConfig
Self
. The specific value does not matter,
since it will be overwritten by decode
.§impl Default for ClientConfig
impl Default for ClientConfig
§fn default() -> ClientConfig
fn default() -> ClientConfig
§impl<D> Encode<ClientConfig, D> for &ClientConfigwhere
D: ResourceDialect,
impl<D> Encode<ClientConfig, D> for &ClientConfigwhere
D: ResourceDialect,
§impl PartialEq for ClientConfig
impl PartialEq for ClientConfig
§impl TypeMarker for ClientConfig
impl TypeMarker for ClientConfig
§type Owned = ClientConfig
type Owned = ClientConfig
§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.§impl ValueTypeMarker for ClientConfig
impl ValueTypeMarker for ClientConfig
§type Borrowed<'a> = &'a ClientConfig
type Borrowed<'a> = &'a ClientConfig
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more§fn borrow(
value: &<ClientConfig as TypeMarker>::Owned,
) -> <ClientConfig as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<ClientConfig as TypeMarker>::Owned, ) -> <ClientConfig as ValueTypeMarker>::Borrowed<'_>
&Self::Owned
to Self::Borrowed
.