Crate ockam_node
source ·Expand description
ockam_node - Ockam Node API
Re-exports
pub use tokio;
Modules
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
Start a node with a custom setup configuration
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
Type Definitions
A special sender type that connects a type to an AsyncDrop handler
A special type of
Context
that has no worker relay and inherits
the parent Context
’s access controlThe reply/result of a Node
A special type of
Context
that has no worker relay and a custom
access control which is not inherited from its parent `Context.