pub struct WorkerPool { /* private fields */ }Available on crate feature
rtc only.Implementations§
Source§impl WorkerPool
impl WorkerPool
pub async fn init()
pub fn get() -> &'static WorkerPool
pub async fn new() -> Self
pub fn get_worker(&self) -> &Worker
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WorkerPool
impl !RefUnwindSafe for WorkerPool
impl Send for WorkerPool
impl Sync for WorkerPool
impl Unpin for WorkerPool
impl !UnwindSafe for WorkerPool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more