pub struct BootstrapProgress {
pub completed: u64,
pub total: Option<u64>,
}Expand description
Bounded bootstrap progress hint. Durable bootstrap state remains queryable.
Fields§
§completed: u64Completed bounded units.
total: Option<u64>Total units when known.
Trait Implementations§
Source§impl Clone for BootstrapProgress
impl Clone for BootstrapProgress
Source§fn clone(&self) -> BootstrapProgress
fn clone(&self) -> BootstrapProgress
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 moreimpl Copy for BootstrapProgress
Source§impl Debug for BootstrapProgress
impl Debug for BootstrapProgress
impl Eq for BootstrapProgress
Source§impl PartialEq for BootstrapProgress
impl PartialEq for BootstrapProgress
impl StructuralPartialEq for BootstrapProgress
Auto Trait Implementations§
impl Freeze for BootstrapProgress
impl RefUnwindSafe for BootstrapProgress
impl Send for BootstrapProgress
impl Sync for BootstrapProgress
impl Unpin for BootstrapProgress
impl UnsafeUnpin for BootstrapProgress
impl UnwindSafe for BootstrapProgress
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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