Crate fuze[][src]

Expand description

Fuzes are mechanisms to wait for a single signal which can be checked at any time.

This crate has an Async-std (default) and a Tokio implementation:


fuze = "3.0.0"


fuze = { version = "3.0.0", default-features = false, features = ["tokio"] }

Both implementations can co-exist (both features can be enabled at the same time) and the API is identical, but the top-level re-export will prefer the async-std version. Disabling both features will not compile.


pub use crate::async_std::Fuze;


The async-std implementation of a Fuze.

The Tokio implementation of a Fuze.