pub struct Job<T> {
pub last_scheduled: i64,
pub done: bool,
pub ticket: Arc<Semaphore>,
pub msg: T,
}
Fields§
§last_scheduled: i64
§done: bool
§ticket: Arc<Semaphore>
§msg: T
Auto Trait Implementations§
impl<T> Freeze for Job<T>where
T: Freeze,
impl<T> !RefUnwindSafe for Job<T>
impl<T> Send for Job<T>where
T: Send,
impl<T> Sync for Job<T>where
T: Sync,
impl<T> Unpin for Job<T>where
T: Unpin,
impl<T> !UnwindSafe for Job<T>
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