Trait async_executors::iface::TokioIo
source · 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§
impl<T> TokioIo for WithDispatch<T>where T: TokioIo,
Available on crate feature
tracing
only.impl<T> TokioIo for Instrumented<T>where T: TokioIo,
Available on crate feature
tracing
only.Implementors§
impl TokioIo for AsyncGlobal
Available on non-WebAssembly and crate feature
async_global_tokio
only.Signal io can be used on this executor.
impl TokioIo for AsyncStd
Available on non-WebAssembly and crate feature
async_std_tokio
only.Signal io can be used on this executor.
impl TokioIo for TokioCt
Available on crate feature
tokio_io
only.impl TokioIo for TokioTp
Available on crate feature
tokio_io
only.