pub struct ThreadQueue { /* private fields */ }
Implementations§
Source§impl ThreadQueue
impl ThreadQueue
pub fn new() -> ThreadQueue
pub fn submit<F, T>( &mut self, f: F, ) -> Result<JoinHandle<T>, PoisonError<MutexGuard<'_, HashMap<u32, Sender<Notify>>>>>
Auto Trait Implementations§
impl Freeze for ThreadQueue
impl RefUnwindSafe for ThreadQueue
impl Send for ThreadQueue
impl Sync for ThreadQueue
impl Unpin for ThreadQueue
impl UnwindSafe for ThreadQueue
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