bee-network 0.2.2

Networking functionality and types for nodes and clients participating in the IOTA protocol built on top of `libp2p`.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2020-2021 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

#[derive(Debug, thiserror::Error)]
pub enum Error {
    /// IO Error.
    #[error("{0}")]
    IoError(#[from] std::io::Error),

    /// Creating Noise authentication keys failed.
    #[error("Creating Noise authentication keys failed")]
    CreatingNoiseKeysFailed,
}