SysteminfoApi

Trait SysteminfoApi 

Source
pub trait SysteminfoApi: Send + Sync {
    // Required methods
    fn get_system_information<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<SystemInfoBean, Error<GetSystemInformationError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_uo_m_information<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<UoMInfoBean, Error<GetUoMInformationError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Available on crate feature systeminfo_api only.

Required Methods§

Source

fn get_system_information<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<SystemInfoBean, Error<GetSystemInformationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /systeminfo

Source

fn get_uo_m_information<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<UoMInfoBean, Error<GetUoMInformationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /systeminfo/uom

Implementors§