Expand description

ockam_node - Ockam Node API

Re-exports

pub use tokio;

Modules

Async Mutex and RwLock

Structs

A message wraper type that allows users to cancel message receival

Context contains Node state and references to the runtime.

Ockam node and worker executor

Wrapper for Context and Address

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

A minimal worker implementation that does nothing

Enums

Failure states from a router command

Messages sent from the Node to the Executor

Successful return values from a router command

The reason why a command was rejected

Specify the type of node shutdown

Constants

A default timeout in seconds

Functions

Start a node

Type Definitions

The reply/result of a Node