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.
Creates a Route
containing the arguments.
Structs
A generic component address
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
Traits
Decode a slice.
Encode the type into an Encoded
type.
A user defined message that can be serialised and deserialised
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.