Crate ockam_core[−][src]
Core types of the Ockam library.
This crate contains the core types of the Ockam library and is intended for use by other crates that provide features and add-ons to the main Ockam library.
The main Ockam crate re-exports types defined in this crate.
Re-exports
| pub extern crate async_trait; | 
| pub extern crate hashbrown; | 
| pub extern crate hex; | 
Modules
| lib | A facade around the various collections and primitives needed when using no alloc, alloc only, or std modes | 
Structs
| Address | A generic component address | 
| AddressSet | A collection of Addresses | 
| Any | A passthrough marker message type | 
| Error | The type of errors returned by Ockam functions. | 
| Route | A full route to a peer | 
| RouteBuilder | Utility type to build and manipulate routes | 
| Routed | A message wrapper that stores message route information | 
| TransportMessage | A generic transport message | 
Enums
| RouteError | A routing specific error type | 
| RouterMessage | A command message for router implementations | 
Traits
| Message | A user defined message that can be serialised and deserialised | 
| Worker | Base ockam worker trait. | 
Type Definitions
| Encoded | Alias of the type used for encoded data. | 
| Result | The type returned by Ockam functions. |