Struct ckb_async_runtime::Handle [−][src]
pub struct Handle { /* fields omitted */ }
Expand description
Handle to the runtime.
Implementations
Enter the runtime context. This allows you to construct types that must
have an executor available on creation such as [Delay
] or [TcpStream
].
It will also allow you to call methods such as tokio::spawn
.
Spawns a future onto the runtime.
This spawns the given future onto the runtime’s executor
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Handle
impl !UnwindSafe for Handle
Blanket Implementations
Mutably borrows from an owned value. Read more