[][src]Crate af_core

Re-exports

pub use self::random::random;

Modules

channel

A multi-producer, multi-consumer channel.

derive

Common derive macros.

env

Functions for inspecting the environment of the current process.

error
fail

Provides the fail! macro and a generic cloneable error type.

fmt

Formatting utilities.

future

Utilities for working with futures and async logic.

iter

Iterator utilities.

log

Logging provided by the log crate.

math

Traits and utilities for working with numbers.

path

Path string manipulation and inspection.

prelude

A “prelude” module containing common imports.

random

Utilities for generating randomness.

stream

Utilities for working with streams and async iteration.

string
task

Task-based concurrency.

test
thread

Thread utilities.

time

Types and utilities for working with times, dates, and durations.

util

Macros

fail

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

Functions

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.