Struct glommio::PoolThreadHandles [−][src]
pub struct PoolThreadHandles { /* fields omitted */ }
Holds a collection of JoinHandle
s created by
LocalExecutorPoolBuilder::on_all_shards
.
Implementations
impl PoolThreadHandles
[src]
impl PoolThreadHandles
[src]pub fn handles(&self) -> &Vec<Result<JoinHandle<()>, ()>>
[src]
Obtain a reference to the JoinHandle
s created by
LocalExecutorPoolBuilder::on_all_shards
.
pub fn join_all(self) -> Vec<Result<(), ()>>
[src]
Calls JoinHandle::join
on all handles created by
LocalExecutorPoolBuilder::on_all_shards
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PoolThreadHandles
impl !RefUnwindSafe for PoolThreadHandles
impl Send for PoolThreadHandles
impl Send for PoolThreadHandles
impl Sync for PoolThreadHandles
impl Sync for PoolThreadHandles
impl Unpin for PoolThreadHandles
impl Unpin for PoolThreadHandles
impl !UnwindSafe for PoolThreadHandles
impl !UnwindSafe for PoolThreadHandles