Struct tokio_task_pool::Task
source · pub struct Task<T>where
T: Future + Send + 'static,
T::Output: Send + 'static,{ /* private fields */ }Expand description
Task
Contains Future, can contain custom ID and timeout
Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for Task<T>where T: RefUnwindSafe,
impl<T> Send for Task<T>
impl<T> Sync for Task<T>where T: Sync,
impl<T> Unpin for Task<T>where T: Unpin,
impl<T> UnwindSafe for Task<T>where T: UnwindSafe,
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