pub struct SlotProgress {
pub done: u64,
pub total: NonZeroU64,
}Expand description
Slots a running job’s sessions have replayed, out of the slots it owes.
Fields§
§done: u64Slots replayed.
total: NonZeroU64Slots the job owes.
Implementations§
Trait Implementations§
Source§impl Clone for SlotProgress
impl Clone for SlotProgress
impl Copy for SlotProgress
Source§impl Debug for SlotProgress
impl Debug for SlotProgress
Source§impl<'de> Deserialize<'de> for SlotProgress
impl<'de> Deserialize<'de> for SlotProgress
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SlotProgress
Source§impl PartialEq for SlotProgress
impl PartialEq for SlotProgress
Source§impl Serialize for SlotProgress
impl Serialize for SlotProgress
impl StructuralPartialEq for SlotProgress
Auto Trait Implementations§
impl Forget for SlotProgress
impl Freeze for SlotProgress
impl Move for SlotProgress
impl RefUnwindSafe for SlotProgress
impl Send for SlotProgress
impl Sync for SlotProgress
impl Unpin for SlotProgress
impl UnsafeUnpin for SlotProgresswhere
NonZeroU64Inner: UnsafeUnpin,
impl UnwindSafe for SlotProgress
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