#[non_exhaustive]pub struct PassProgress {
pub completed: u64,
pub total: Option<u64>,
pub span: u64,
pub covered: u64,
}Expand description
How far one pass is, by deliveries and by time.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.completed: u64Deliveries handed over.
total: Option<u64>Deliveries the pass will hand over, when known; unknown for source frames.
span: u64Ticks of the range the pass reads, from its start to the range’s bound in its direction.
covered: u64Ticks of span between the pass’s start and its latest delivery’s bound (a frame’s pts,
a block’s far edge), and all of span once the pass has ended. Never decreases.
Trait Implementations§
Source§impl Clone for PassProgress
impl Clone for PassProgress
impl Copy for PassProgress
Source§impl Debug for PassProgress
impl Debug for PassProgress
impl Eq for PassProgress
Source§impl PartialEq for PassProgress
impl PartialEq for PassProgress
impl StructuralPartialEq for PassProgress
Auto Trait Implementations§
impl Forget for PassProgress
impl Freeze for PassProgress
impl Move for PassProgress
impl RefUnwindSafe for PassProgress
impl Send for PassProgress
impl Sync for PassProgress
impl Unpin for PassProgress
impl UnsafeUnpin for PassProgress
impl UnwindSafe for PassProgress
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more