monitord::system

Function get_system_state

Source
pub async fn get_system_state(
    connection: &Connection,
) -> Result<SystemdSystemState, MonitordSystemError>