Crate static_graph
source ·Modules
- Abstracting over accessing parts of stored value.
- Caching handle into the ArcSwapAny.
- Additional documentation.
- Asynchronous file and standard stream adaptation.
- TCP/UDP/Unix bindings for
tokio
. - An implementation of asynchronous process management for Tokio.
- The Tokio runtime.
- Asynchronous signal handling for Tokio.
- Strategies for protecting the reference counts.
- Due to the
Stream
trait’s inclusion instd
landing later than Tokio’s 1.0 release, most of the Tokio stream utilities have been moved into thetokio-stream
crate. - Synchronization primitives for use in asynchronous contexts.
- Asynchronous green-threads.
- Utilities for tracking time.
Macros
- Waits on multiple concurrent branches, returning when all branches complete.
- Pins a value on the stack.
- Waits on multiple concurrent branches, returning when the first branch completes, cancelling the remaining branches.
- Declares a new task-local key of type
tokio::task::LocalKey
. - Waits on multiple concurrent branches, returning when all branches complete with
Ok(_)
or on the firstErr(_)
.
Structs
- An atomic storage for a reference counted smart pointer like
Arc
orOption<Arc>
. - Caching handle for
ArcSwapAny
. - A temporary storage of the pointer.
Traits
- A trait describing things that can be turned into a raw pointer.
- A trait describing smart reference counted pointers.
Functions
- Spawns a new asynchronous task, returning a
JoinHandle
for it.
Type Definitions
- An atomic storage for
Arc
. - An atomic storage for
Option<Arc>
. - The default strategy.