INNER CODE UNIT · Rust

evaluate_profile_rule

ilya-zlobintsev/LACT · lact-client/src/lib.rs:216

    pub async fn evaluate_profile_rule(&self, rule: ProfileRule) -> anyhow::Result<bool> {
        self.make_request(Request::EvaluateProfileRule { rule })
            .await
    }

    pub async fn get_gpu_config(&self, id: &str) -> anyhow::Result<Option<GpuConfig>> {
        self.make_request(Request::GetGpuConfig { id }).await
    }

    pub async fn set_gpu_config(&self, id: &str, config: GpuConfig) -> anyhow::Result<u64> {
        self.make_request(Request::SetGpuConfig {
            id,
            config: Box::new(config),
        })
        .await
    }

    pub async fn set_clocks_value(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…