fidl_fuchsia_net_test_realm

Trait ControllerProxyInterface

Source
pub trait ControllerProxyInterface: Send + Sync {
Show 26 associated items type StartHermeticNetworkRealmResponseFut: Future<Output = Result<ControllerStartHermeticNetworkRealmResult, Error>> + Send; type StopHermeticNetworkRealmResponseFut: Future<Output = Result<ControllerStopHermeticNetworkRealmResult, Error>> + Send; type AddInterfaceResponseFut: Future<Output = Result<ControllerAddInterfaceResult, Error>> + Send; type StartStubResponseFut: Future<Output = Result<ControllerStartStubResult, Error>> + Send; type StopStubResponseFut: Future<Output = Result<ControllerStopStubResult, Error>> + Send; type PingResponseFut: Future<Output = Result<ControllerPingResult, Error>> + Send; type PollUdpResponseFut: Future<Output = Result<ControllerPollUdpResult, Error>> + Send; type JoinMulticastGroupResponseFut: Future<Output = Result<ControllerJoinMulticastGroupResult, Error>> + Send; type LeaveMulticastGroupResponseFut: Future<Output = Result<ControllerLeaveMulticastGroupResult, Error>> + Send; type StartDhcpv6ClientResponseFut: Future<Output = Result<ControllerStartDhcpv6ClientResult, Error>> + Send; type StopDhcpv6ClientResponseFut: Future<Output = Result<ControllerStopDhcpv6ClientResult, Error>> + Send; type StartOutOfStackDhcpv4ClientResponseFut: Future<Output = Result<ControllerStartOutOfStackDhcpv4ClientResult, Error>> + Send; type StopOutOfStackDhcpv4ClientResponseFut: Future<Output = Result<ControllerStopOutOfStackDhcpv4ClientResult, Error>> + Send; // Required methods fn start_hermetic_network_realm( &self, netstack: Netstack, ) -> Self::StartHermeticNetworkRealmResponseFut; fn stop_hermetic_network_realm( &self, ) -> Self::StopHermeticNetworkRealmResponseFut; fn add_interface( &self, mac_address: &MacAddress, name: &str, wait_any_ip_address: bool, ) -> Self::AddInterfaceResponseFut; fn start_stub(&self, component_url: &str) -> Self::StartStubResponseFut; fn stop_stub(&self) -> Self::StopStubResponseFut; fn ping( &self, target: &IpAddress, payload_length: u16, interface_name: Option<&str>, timeout: i64, ) -> Self::PingResponseFut; fn poll_udp( &self, target: &SocketAddress, payload: &[u8], timeout: i64, num_retries: u16, ) -> Self::PollUdpResponseFut; fn join_multicast_group( &self, address: &IpAddress, interface_id: u64, ) -> Self::JoinMulticastGroupResponseFut; fn leave_multicast_group( &self, address: &IpAddress, interface_id: u64, ) -> Self::LeaveMulticastGroupResponseFut; fn start_dhcpv6_client( &self, params: &NewClientParams, ) -> Self::StartDhcpv6ClientResponseFut; fn stop_dhcpv6_client(&self) -> Self::StopDhcpv6ClientResponseFut; fn start_out_of_stack_dhcpv4_client( &self, payload: &ControllerStartOutOfStackDhcpv4ClientRequest, ) -> Self::StartOutOfStackDhcpv4ClientResponseFut; fn stop_out_of_stack_dhcpv4_client( &self, payload: &ControllerStopOutOfStackDhcpv4ClientRequest, ) -> Self::StopOutOfStackDhcpv4ClientResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§