mithril-client 0.14.17

Mithril client library
1
2
3
4
5
6
7
8
9
10
11
12
use async_trait::async_trait;
use mithril_client::{MithrilCertificate, MithrilResult, certificate_client::CertificateVerifier};
use mockall::mock;

mock! {
    pub CertificateVerifierImpl { }

    #[async_trait]
    impl CertificateVerifier for CertificateVerifierImpl {
        async fn verify_chain(&self, certificate: &MithrilCertificate) -> MithrilResult<()>;
    }
}