Crate ockam_core[−][src]
Expand description
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
Modules
A facade around the various collections and primitives needed when using “std”, “no_std + alloc” or “no_std” targets.
Module for custom implementation of standard traits.
Macros
Prints to the standard output, with a newline.
Structs
A generic component address
An error which is returned when address parsing from string fails
A collection of Addresses
A passthrough marker message type
The type of errors returned by Ockam functions.
LocalMessage is a message type that is routed locally within one node.
A user-defined protocol identifier
Message that is meant to be sent between workers if Error-handling is needed.
A full route to a peer
Utility type to build and manipulate routes
A message wrapper that stores message route information
A generic transport message
UInt that supports serde_bare serialization as uint (opposed to rust fixed-size integers)
Enums
Enum to store the cause of address parsing failure
A routing specific error type
A command message for router implementations
Traits
Decode a slice.
A user defined message that can be serialised and deserialized
Base ockam processor trait.
Base ockam worker trait.
Functions
Produces Ok(true), which reads confusingly in auth code.
Produces Ok(false), which reads confusingly in auth code.