pub struct DrainReceipt<K> {
pub class: K,
pub completed: Vec<JobId>,
pub pending: bool,
}Expand description
Receipt for a bounded drain.
Fields§
§class: KSelected queue class.
completed: Vec<JobId>Jobs completed in FIFO order.
pending: boolWhether jobs remain in the class.
Trait Implementations§
Source§impl<K: Clone> Clone for DrainReceipt<K>
impl<K: Clone> Clone for DrainReceipt<K>
Source§fn clone(&self) -> DrainReceipt<K>
fn clone(&self) -> DrainReceipt<K>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<K: Debug> Debug for DrainReceipt<K>
impl<K: Debug> Debug for DrainReceipt<K>
impl<K: Eq> Eq for DrainReceipt<K>
Source§impl<K: PartialEq> PartialEq for DrainReceipt<K>
impl<K: PartialEq> PartialEq for DrainReceipt<K>
impl<K: PartialEq> StructuralPartialEq for DrainReceipt<K>
Auto Trait Implementations§
impl<K> Freeze for DrainReceipt<K>where
K: Freeze,
impl<K> RefUnwindSafe for DrainReceipt<K>where
K: RefUnwindSafe,
impl<K> Send for DrainReceipt<K>where
K: Send,
impl<K> Sync for DrainReceipt<K>where
K: Sync,
impl<K> Unpin for DrainReceipt<K>where
K: Unpin,
impl<K> UnsafeUnpin for DrainReceipt<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for DrainReceipt<K>where
K: 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