lxmf-sdk 0.7.0

High-level Rust SDK for LXMF clients and RPC-backed LXMF workflows.
Documentation
1
2
3
4
5
6
7
8
use super::{json, SdkError, ZmqPipelineBackendClient};

impl ZmqPipelineBackendClient {
    pub fn local_delivery_destination_hash(&self) -> Result<String, SdkError> {
        let result = self.call_rpc("status", Some(json!({})))?;
        Self::parse_required_string(&result, "delivery_destination_hash")
    }
}