Crate ockam_node
source · [−]Expand description
ockam_node - Ockam Node API
Re-exports
pub use tokio;
Modules
Async Mutex and RwLock
Structs
A message wrapper type that allows users to cancel message receival
Context contains Node state and references to the runtime.
Allow to send message to destination address periodically after some delay Only one scheduled heartbeat allowed at a time Dropping this handle cancels scheduled heartbeat
Underlying Ockam node executor
A minimal worker implementation that does nothing
Enums
Enumeration of error causes in ockam_node
Messages sent from the Node to the Executor
Reasons why a generic Ockam Node operation has failed
Reasons why adding an external router has failed
Successful return values from a router command
Specify the type of node shutdown
Reasons why a worker operation has failed
Constants
A default timeout in seconds
Functions
Start a node
Type Definitions
The reply/result of a Node