1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod protocol;

mod errors;
pub use errors::*;

pub mod transport;

// Re-export ordered-float, since it is used by the generator
// FIXME: check the guidance around type reexports
pub use ordered_float::OrderedFloat;

/// Result type returned by all runtime library functions.
///
/// As is convention this is a typedef of `std::result::Result`
/// with `E` defined as the `thrift::Error` type.
pub type Result<T> = std::result::Result<T, self::Error>;