1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
//! This module provides the api definition for working with lib3h extern crate holochain_persistence_api; extern crate serde; #[macro_use] extern crate serde_derive; extern crate rmp_serde; pub mod data_types; pub mod network_engine; pub mod protocol_client; pub mod protocol_server; /// string encoded address type pub type Address = holochain_persistence_api::hash::HashString; /// type name for a bool indicating if work was done during a `process()` pub type DidWork = bool; /// TODO #58 - To replace with our own custom Error handling use failure::Error; pub type Lib3hResult<T> = Result<T, Error>;