Module ockam::compat

source ·
Expand description

Compatibility adapter, mostly for no_std use.

Most user code should not use these types.

Re-exports

  • pub use ockam_node::tokio;

Modules

  • Async Mutex and RwLock
  • A module for working with borrowed data.
  • Provides std::boxed for alloc targets.
  • Provides std::collections and alternate hashbrown map and set implementations.
  • Provides a std::error::Error trait.
  • Provides core::fmt
  • Provides future::poll_once
  • FutureExt
  • Traits, helpers, and type definitions for core I/O functionality.
  • Networking primitives for TCP/UDP communication.
  • Provides rand.
  • Provides std::str.
  • Provides std::string.
  • Provides std::sync for std targets.
  • Types and Traits for working with asynchronous tasks.
  • Provides std::time for std targets.
  • A runtime for writing reliable network applications without compromising speed.
  • Provides std::vec.

Macros

  • Creates a String using interpolation of runtime expressions.
  • Polls multiple futures simultaneously, returning a tuple of all results once complete.
  • Polls multiple futures simultaneously, resolving to a Result containing either a tuple of the successful outputs or an error.

Functions

  • Requires a Future to complete before the specified duration has elapsed.