Registry / async / tokio-executor-trait

tokio-executor-trait

JSON →
library3.1.0rscratesunverified

Executor-trait implementation for tokio

# Cargo.toml [dependencies] tokio-executor-trait = "3.1.0"
INSTALL
IMPORT
SIG · TOKIO-EXECUTOR-TRA
T
tokio-executor-trait
asyncrustv3.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TokioExecutor
use tokio_executor_trait::TokioExecutor;

Creates a Tokio executor instance

use tokio_executor_trait::TokioExecutor; fn main() { let executor = TokioExecutor::new(); println!("Tokio executor created"); }
Debug
Known issues
gotchaRequires tokio runtime to be active
fix
Ensure tokio::main or tokio::runtime is used
affects: >=3.0.0
Upgrade
Version history
3.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
22
Resources
tokio-executor-trait — cargo add tokio-executor-trait · libregistry