Module traits

Source
Expand description

A collection of traits to define a common interface across async runtimes

Traitsยง

AsyncIOHandle
A trait representing an asynchronous IO handle
AsyncToSocketAddrs
A common interface for resolving domain name + port to SocketAddr
Executor
A common interface for spawning futures on top of an executor
Reactor
A common interface for performing actions on a reactor
RuntimeKit
Supertrait to tag a type that implements all required components for a Runtime
Task
A common interface to wait for a Task completion, let it run n the background or cancel it.