fidl_fuchsia_netpol_socketproxyTrait NetworkRegistryProxyInterface
Source pub trait NetworkRegistryProxyInterface: Send + Sync {
type SetDefaultResponseFut: Future<Output = Result<NetworkRegistrySetDefaultResult, Error>> + Send;
type AddResponseFut: Future<Output = Result<NetworkRegistryAddResult, Error>> + Send;
type UpdateResponseFut: Future<Output = Result<NetworkRegistryUpdateResult, Error>> + Send;
type RemoveResponseFut: Future<Output = Result<NetworkRegistryRemoveResult, Error>> + Send;
// Required methods
fn set_default(
&self,
network_id: &OptionalUint32,
) -> Self::SetDefaultResponseFut;
fn add(&self, network: &Network) -> Self::AddResponseFut;
fn update(&self, network: &Network) -> Self::UpdateResponseFut;
fn remove(&self, network_id: u32) -> Self::RemoveResponseFut;
}