Crate rusty_chain

source ·

Modules

Macros

Structs

  • Builds Tokio Runtime with custom configuration values.
  • An asynchronous Mutex-like type.
  • An asynchronous reader-writer lock.

Traits

  • An automatically-implemented extension trait on RngCore providing high-level generic methods for sampling values and other convenience methods.
  • Extension trait on slices, providing random mutation and sampling methods.

Functions

  • Creates a future which represents a collection of the outputs of the futures given.
  • Retrieve the lazily-initialized thread-local random number generator, seeded by the system. Intended to be used in method chaining style, e.g. thread_rng().gen::<i32>(), or cached locally, e.g. let mut rng = thread_rng();. Invoked by the Default trait, making ThreadRng::default() equivalent.

Attribute Macros