Trait SystemApi
Source pub trait SystemApi: Send + Sync {
// Required methods
fn system_data_usage_libpod(
&self,
) -> Pin<Box<dyn Future<Output = Result<SystemDfReport, Error>> + Send>>;
fn system_events_libpod(
&self,
since: Option<&str>,
until: Option<&str>,
filters: Option<&str>,
stream: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>;
fn system_info_libpod(
&self,
) -> Pin<Box<dyn Future<Output = Result<LibpodInfo, Error>> + Send>>;
fn system_ping(
&self,
) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send>>;
fn system_prune_libpod(
&self,
) -> Pin<Box<dyn Future<Output = Result<SystemPruneReport, Error>> + Send>>;
fn system_version_libpod(
&self,
) -> Pin<Box<dyn Future<Output = Result<SystemComponentVersion, Error>> + Send>>;
}