ootle-rs 0.6.4

A Rust library for interacting with the Tari Ootle network.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//   Copyright 2026 The Tari Project
//   SPDX-License-Identifier: BSD-3-Clause

#[derive(Debug, thiserror::Error)]
pub enum KeyProviderError {
    #[error(transparent)]
    Other(Box<dyn std::error::Error + Send + Sync>),
}

impl KeyProviderError {
    pub fn other<E>(err: E) -> Self
    where E: std::error::Error + Send + Sync + 'static {
        KeyProviderError::Other(Box::new(err))
    }
}