pub fn worker_pool_destroy(
pool: WorkerPool<String>,
) -> Result<(), WorkerPoolError>Expand description
Destroys a string worker pool after joining its workers.
§Parameters
pool: Input consumed bycrate::worker_pool::worker_pool_destroy.
§Returns
Returns the successful value produced by crate::worker_pool::worker_pool_destroy or an error when the operation fails.
§Errors
Returns an error value when crate::worker_pool::worker_pool_destroy cannot complete successfully.
§Examples
ⓘ
let _result = pharos_runtime_core::worker_pool::worker_pool_destroy(todo!());§Related
crate::worker_poolfor adjacent helpers that share the same runtime surface.