Enum mqtt_async_client::util::TokioRuntime [−][src]
pub enum TokioRuntime {
Default,
Handle(Handle),
}Expand description
Represents a tokio runtime on which to spawn tasks.
Variants
Represents the default global tokio runtime, i.e. to use tokio::spawn
Handle(Handle)Encapsulates a tokio::runtime::Handle to use to spawn tasks.
Tuple Fields of Handle
0: HandleImplementations
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for TokioRuntime
impl Send for TokioRuntime
impl Sync for TokioRuntime
impl Unpin for TokioRuntime
impl !UnwindSafe for TokioRuntime
Blanket Implementations
Mutably borrows from an owned value. Read more