somfy-sdk 0.2.2

A Rust-based SDK for interacting with Somfy smart home devices and APIs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

#[derive(Debug, Error)]
pub enum CertificateError {
    #[error("remote cert could not be retrieved")]
    RemoteCertError,
    #[error("local cert is invalid")]
    InvalidLocalCert,
    #[error("fs error: {0}")]
    FileSystemError(#[from] anyhow::Error),
}