Trait SystemCompatApi

Source
pub trait SystemCompatApi: Send + Sync {
    // Required methods
    fn system_auth(
        &self,
        auth_config: Option<AuthConfig>,
    ) -> Pin<Box<dyn Future<Output = Result<AuthReport, Error>> + Send>>;
    fn system_data_usage(
        &self,
    ) -> Pin<Box<dyn Future<Output = Result<SystemDfReport, Error>> + Send>>;
    fn system_events(
        &self,
        since: Option<&str>,
        until: Option<&str>,
        filters: Option<&str>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>;
    fn system_info(
        &self,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>;
    fn system_ping(
        &self,
    ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send>>;
    fn system_version(
        &self,
    ) -> Pin<Box<dyn Future<Output = Result<SystemComponentVersion, Error>> + Send>>;
}

Required Methods§

Source

fn system_auth( &self, auth_config: Option<AuthConfig>, ) -> Pin<Box<dyn Future<Output = Result<AuthReport, Error>> + Send>>

Source

fn system_data_usage( &self, ) -> Pin<Box<dyn Future<Output = Result<SystemDfReport, Error>> + Send>>

Source

fn system_events( &self, since: Option<&str>, until: Option<&str>, filters: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source

fn system_info(&self) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source

fn system_ping( &self, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send>>

Source

fn system_version( &self, ) -> Pin<Box<dyn Future<Output = Result<SystemComponentVersion, Error>> + Send>>

Implementors§