Struct task_exec_queue::LocalTaskExecQueue
source · pub struct LocalTaskExecQueue<Tx = LocalSender<(), SendError>, G = (), D = ()> { /* private fields */ }
Implementations§
source§impl<Tx, G, D> LocalTaskExecQueue<Tx, G, D>
impl<Tx, G, D> LocalTaskExecQueue<Tx, G, D>
pub fn try_spawn_with<T>( &self, msg: T, name: D ) -> TryLocalSpawner<'_, T, Tx, G, D> ⓘ
pub fn spawn_with<T>(&self, msg: T, name: D) -> LocalSpawner<'_, T, Tx, G, D> ⓘ
pub fn flush(&self) -> LocalFlush<'_, Tx, G, D>
pub fn close(&self) -> LocalClose<'_, Tx, G, D>
pub fn workers(&self) -> usize
pub fn active_count(&self) -> isize
pub fn waiting_count(&self) -> isize
pub async fn completed_count(&self) -> isize
pub fn pending_wakers_count(&self) -> usize
pub fn waiting_wakers_count(&self) -> usize
pub async fn rate(&self) -> f64
pub fn is_full(&self) -> bool
pub fn is_active(&self) -> bool
pub fn is_closed(&self) -> bool
pub fn is_flushing(&self) -> bool
source§impl<Tx, G> LocalTaskExecQueue<Tx, G, ()>
impl<Tx, G> LocalTaskExecQueue<Tx, G, ()>
Trait Implementations§
Auto Trait Implementations§
impl<Tx = LocalSender<((), Box<dyn Future<Output = ()> + Unpin>), SendError>, G = (), D = ()> !RefUnwindSafe for LocalTaskExecQueue<Tx, G, D>
impl<Tx = LocalSender<((), Box<dyn Future<Output = ()> + Unpin>), SendError>, G = (), D = ()> !Send for LocalTaskExecQueue<Tx, G, D>
impl<Tx = LocalSender<((), Box<dyn Future<Output = ()> + Unpin>), SendError>, G = (), D = ()> !Sync for LocalTaskExecQueue<Tx, G, D>
impl<Tx, G, D> Unpin for LocalTaskExecQueue<Tx, G, D>
impl<Tx = LocalSender<((), Box<dyn Future<Output = ()> + Unpin>), SendError>, G = (), D = ()> !UnwindSafe for LocalTaskExecQueue<Tx, G, D>
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