Trait async_executors::iface::TokioIo [−][src]
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 Instrumented<T> where
T: TokioIo,
This is supported on crate feature
tracing
only.impl<T> TokioIo for WithDispatch<T> where
T: TokioIo,
This is supported on crate feature
tracing
only.Implementors
impl TokioIo for AsyncGlobal
This is supported on non-WebAssembly and crate feature
async_global_tokio
only.Signal io can be used on this executor.
impl TokioIo for AsyncStd
This is supported on non-WebAssembly and crate feature
async_std_tokio
only.Signal io can be used on this executor.