Trait NetworksCompatApi
Source pub trait NetworksCompatApi: Send + Sync {
// Required methods
fn network_connect(
&self,
name: &str,
create: Option<NetworkConnect>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>;
fn network_create(
&self,
create: Option<NetworkCreateRequest>,
) -> Pin<Box<dyn Future<Output = Result<NetworkCreate201Response, Error>> + Send>>;
fn network_delete(
&self,
name: &str,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>;
fn network_disconnect(
&self,
name: &str,
create: Option<NetworkDisconnect>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>;
fn network_inspect(
&self,
name: &str,
verbose: Option<bool>,
scope: Option<&str>,
) -> Pin<Box<dyn Future<Output = Result<NetworkResource, Error>> + Send>>;
fn network_list(
&self,
filters: Option<&str>,
) -> Pin<Box<dyn Future<Output = Result<Vec<NetworkResource>, Error>> + Send>>;
fn network_prune(
&self,
filters: Option<&str>,
) -> Pin<Box<dyn Future<Output = Result<NetworkPrune200Response, Error>> + Send>>;
}