Struct rbatis_core::runtime::task::TaskId [−][src]
pub struct TaskId(_);Expand description
A unique identifier for a task.
Examples
use async_std::task;
task::block_on(async {
println!("id = {:?}", task::current().id());
})Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TaskId
impl UnwindSafe for TaskId
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.