fidl_fuchsia_netemul_networkTrait NetworkContextProxyInterface
Source pub trait NetworkContextProxyInterface: Send + Sync {
type SetupResponseFut: Future<Output = Result<(i32, Option<ClientEnd<SetupHandleMarker>>), Error>> + Send;
// Required methods
fn clone(
&self,
network_context: ServerEnd<NetworkContextMarker>,
) -> Result<(), Error>;
fn get_network_manager(
&self,
net_manager: ServerEnd<NetworkManagerMarker>,
) -> Result<(), Error>;
fn get_endpoint_manager(
&self,
endp_manager: ServerEnd<EndpointManagerMarker>,
) -> Result<(), Error>;
fn setup(&self, networks: &[NetworkSetup]) -> Self::SetupResponseFut;
}