enum InnerImpl {
Locked(LockedImpl),
Sharded(ShardedImpl),
}Expand description
Per-variant queue + notification + lock topology.
Variants§
Locked(LockedImpl)
Sharded(ShardedImpl)
Implementations§
Source§impl InnerImpl
impl InnerImpl
fn spawn_task<F>( &self, task: Task, metrics: &SpawnerMetrics, on_no_idle: F, ) -> Result<(), SpawnError>
fn run_worker( &self, metrics: &SpawnerMetrics, keep_alive: Duration, worker_thread_id: usize, ) -> Option<JoinHandle<()>>
fn begin_shutdown( &self, metrics: &SpawnerMetrics, ) -> Option<(Option<JoinHandle<()>>, HashMap<usize, JoinHandle<()>>)>
Auto Trait Implementations§
impl !Freeze for InnerImpl
impl RefUnwindSafe for InnerImpl
impl Send for InnerImpl
impl Sync for InnerImpl
impl Unpin for InnerImpl
impl UnsafeUnpin for InnerImpl
impl UnwindSafe for InnerImpl
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