Crate trillium_async_std[−][src]
Expand description
Trillium server adapter for async-std
fn main() { trillium_async_std::run(|conn: trillium::Conn| async move { conn.ok("hello async-std") }); }
#[async_std::main] async fn main() { trillium_async_std::run_async(|conn: trillium::Conn| async move { conn.ok("hello async-std") }).await; }
Re-exports
pub use async_std;
Structs
configuration for the tcp Connector
This struct provides a synchronized mechanism for canceling Futures and Streams.
trillium client tcp connector for async-std