Trait ToplevelRuntime

Source
pub trait ToplevelRuntime: Runtime + ToplevelBlockOn { }
Expand description

A runtime that we can use to run Tor as a client.

  • ToplevelBlockOn to block on a top-level future and run it to completion (This may become optional in the future, if/when we add WASM support).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§