[][src]Module af_lib::prelude::af_core

Modules

random

Utilities for generating randomness.

stream

Utilities for working with streams and async iteration.

string
task

Task-based concurrency.

test
thread

Thread utilities.

util

Macros

fail

Returns an Err containing a new fail::Error from format args.

Functions

random

Generates a random value.

run

Starts a task from the given future, waits for it to stop, then exits the process.

run_with

Starts a task from the given function, waits for it to stop, then exits the process.

Attribute Macros

main

Defines an async main function for an af-core application.