Expand description
A collection of utilities to deal with IO, futures and runtimes
Structs§
- IOHandle
- A synchronous IO handle
- Runtime
Parts - Wrapper around separate Executor and Reactor implementing RuntimeKit
- Socket
Addrs - Wrapper to impl AsyncToSocketAddrs from an IntoIterator<Item = SocketAddr>
- Socket
Addrs From IpAddrs - Iterator for SocketAddr computed from IpAddr + port
- Socket
Addrs Resolver - Wrapper to perform blocking name resolution on top of an async runtime
- Unit
Future - Wrap a Future to discard its output
Functions§
- block_
on_ tokio - Block on the given future in a tokio context, creating a new one if required
- inside_
tokio - Check whether we’re in a tokio context or not