Crate ockam_macros

Source
Expand description

This crate provides shared macros to:

  • faillable clone structs
  • create an ockam node and access its Context
  • write some node-related tests

Procedural macros for use with Ockam.

Macros§

migrate

Attribute Macros§

node
Marks an async function to be run in an ockam node.
test
Marks an async test function to be run in an ockam node.
vault_test
Expands to a test suite for a custom implementation of the vault traits.

Derive Macros§

Message
Implements the Message trait for a type.
TryClone
Implements the TryClone trait for a type.