pub trait TokioIo { }
Expand description

Trait indicating that tokio IO can be used with the executor that implements it. Currently this can be enabled through features on TokioCt, TokioTp, AsyncGlobal and AsyncStd.

This means a tokio reactor will be running and that the network types from tokio (eg. TcpStream) will work.

Implementations on Foreign Types§

source§

impl<T> TokioIo for WithDispatch<T>where T: TokioIo,

Available on crate feature tracing only.
source§

impl<T> TokioIo for Instrumented<T>where T: TokioIo,

Available on crate feature tracing only.

Implementors§

source§

impl TokioIo for AsyncGlobal

Available on non-WebAssembly and crate feature async_global_tokio only.

Signal io can be used on this executor.

source§

impl TokioIo for AsyncStd

Available on non-WebAssembly and crate feature async_std_tokio only.

Signal io can be used on this executor.

source§

impl TokioIo for TokioCt

Available on crate feature tokio_io only.
source§

impl TokioIo for TokioTp

Available on crate feature tokio_io only.