fidl_fuchsia_netemul_networkTrait NetworkManagerProxyInterface
Source pub trait NetworkManagerProxyInterface: Send + Sync {
type ListNetworksResponseFut: Future<Output = Result<Vec<String>, Error>> + Send;
type CreateNetworkResponseFut: Future<Output = Result<(i32, Option<ClientEnd<NetworkMarker>>), Error>> + Send;
type GetNetworkResponseFut: Future<Output = Result<Option<ClientEnd<NetworkMarker>>, Error>> + Send;
// Required methods
fn list_networks(&self) -> Self::ListNetworksResponseFut;
fn create_network(
&self,
name: &str,
config: &NetworkConfig,
) -> Self::CreateNetworkResponseFut;
fn get_network(&self, name: &str) -> Self::GetNetworkResponseFut;
}