xpx_chain_sdk/api/service/
mod.rs

1/*
2 * Copyright 2018 ProximaX Limited. All rights reserved.
3 * Use of this source code is governed by the Apache 2.0
4 * license that can be found in the LICENSE file.
5 */
6
7pub use self::transport::*;
8
9pub mod transport;
10
11pub type Error = Box<dyn std::error::Error + Send + Sync>;
12
13/// `Result` is a type that represents either success ([`Ok`]) or failure ([`Err`]).
14/// By default, the Err value is of type [`transport::Error`] but this can be overridden if desired.
15pub type Result<T, E = Error> = std::result::Result<T, E>;