INNER CODE UNIT · Rust

set_profile_rule

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

    pub async fn set_profile_rule(
        &self,
        name: String,
        rule: Option<ProfileRule>,
        hooks: ProfileHooks,
    ) -> anyhow::Result<()> {
        self.make_request(Request::SetProfileRule { name, rule, hooks })
            .await
    }

    pub async fn confirm_pending_config(&self, command: ConfirmCommand) -> anyhow::Result<()> {
        self.make_request(Request::ConfirmPendingConfig(command))
            .await
    }
}

impl fmt::Debug for DaemonClient {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…