Expand description

ockam_node - Ockam Node API


pub use tokio;


Async Mutex and RwLock


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


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


A default timeout in seconds


Start a node

Type Definitions

The reply/result of a Node