1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
//! This module provides the api definition for working with lib3h pub mod data_types; pub mod network_engine; pub mod protocol_client; pub mod protocol_server; /// Opaque Address Bytes pub type Address = Vec<u8>; pub type AddressRef = [u8]; /// type name for a bool indicating if work was done during a `process()` pub type DidWork = bool; /// TODO: To replace with our own custom Error handling use failure::Error; pub type Lib3hResult<T> = Result<T, Error>;