Expand description
Extensions for types in the fidl_fuchsia_net_dhcp crate.
Modules§
- testutil
- Contains types used when testing the DHCP client.
Structs§
- Address
- An IPv4 address acquired by the DHCP client.
- Configuration
- Configuration acquired by the DHCP client.
Enums§
- Error
- Domain errors for this crate.
Constants§
- DEFAULT_
ADDR_ PREFIX - The default subnet used as the destination while populating a
fuchsia.net.routes.RouteV4while applying newly-discovered routers.
Traits§
- Client
Ext - Extension trait on
fidl_fuchsia_net_dhcp::ClientProxy. - Client
Provider Ext - Extension trait on
fidl_fuchsia_net_dhcp::ClientProviderProxy.
Functions§
- apply_
new_ routers - Applies a new set of routers
- configuration_
stream - Produces a stream of acquired DHCP configuration by executing the hanging get on the provided DHCP client proxy.
- default_
new_ client_ params - The default
fnet_dhcp::NewClientParams. - merged_
configuration_ stream - Produces a stream that merges together the configuration hanging get
and the
fnet_dhcp::ClientEvent::OnExitterminal event. The client will be shut down whenshutdown_futurecompletes.