Skip to main content

Module smol

Module smol 

Source
Expand description

Re-exports of the smol runtime for use with arti. This crate defines a slim API around our async runtime so that we can swap it out easily.

Re-exportsยง

use crate::join_set::FuturesJoinSet; ๐Ÿ”’
use futures::task::FutureObj; ๐Ÿ”’
use futures::task::Spawn; ๐Ÿ”’
use futures::task::SpawnError; ๐Ÿ”’
use futures::Future; ๐Ÿ”’
use futures::FutureExt; ๐Ÿ”’
use std::pin::Pin; ๐Ÿ”’
use std::time::Duration; ๐Ÿ”’
use crate::traits::*; ๐Ÿ”’

Modulesยง

net ๐Ÿ”’
Types used for networking (smol implementation).

Structsยง

SmolRuntime
Type to wrap smol::Executor.

Functionsยง

create_runtime
Construct new instance of the smol runtime.