Expand description
The traffic-light Executor.
§Examples
use std::{
error,
result
};
use traffic_light::executor::Executor;
fn main() -> result::Result<(), Box<dyn error::Error>> {
Executor::block_on(async {
// ...
Ok::<(), Box<dyn error::Error>>(())
})?;
Ok(())
}Structs§
- Executor
- The traffic-light Executor.