fidl_fuchsia_net_dhcpv6

Trait ClientProxyInterface

Source
pub trait ClientProxyInterface: Send + Sync {
    type WatchServersResponseFut: Future<Output = Result<Vec<DnsServer_>, Error>> + Send;
    type WatchAddressResponseFut: Future<Output = Result<(Subnet, AddressParameters, ServerEnd<AddressStateProviderMarker>), Error>> + Send;
    type WatchPrefixesResponseFut: Future<Output = Result<Vec<Prefix>, Error>> + Send;
    type ShutdownResponseFut: Future<Output = Result<ClientShutdownResult, Error>> + Send;

    // Required methods
    fn watch_servers(&self) -> Self::WatchServersResponseFut;
    fn watch_address(&self) -> Self::WatchAddressResponseFut;
    fn watch_prefixes(&self) -> Self::WatchPrefixesResponseFut;
    fn shutdown(&self) -> Self::ShutdownResponseFut;
}

Required Associated Types§

Source

type WatchServersResponseFut: Future<Output = Result<Vec<DnsServer_>, Error>> + Send

Source

type WatchAddressResponseFut: Future<Output = Result<(Subnet, AddressParameters, ServerEnd<AddressStateProviderMarker>), Error>> + Send

Source

type WatchPrefixesResponseFut: Future<Output = Result<Vec<Prefix>, Error>> + Send

Source

type ShutdownResponseFut: Future<Output = Result<ClientShutdownResult, Error>> + Send

Required Methods§

Implementors§

Source§

impl ClientProxyInterface for ClientProxy

Source§

type WatchServersResponseFut = QueryResponseFut<Vec<DnsServer_>>

Source§

type WatchAddressResponseFut = QueryResponseFut<(Subnet, AddressParameters, ServerEnd<AddressStateProviderMarker>)>

Source§

type WatchPrefixesResponseFut = QueryResponseFut<Vec<Prefix>>

Source§

type ShutdownResponseFut = QueryResponseFut<Result<(), i32>>