Struct libp2p::kad::ProgressStep
source · pub struct ProgressStep {
pub count: NonZeroUsize,
pub last: bool,
}
Expand description
Information about progress events.
Fields§
§count: NonZeroUsize
The index into the event
last: bool
Is this the final event?
Trait Implementations§
source§impl Clone for ProgressStep
impl Clone for ProgressStep
source§fn clone(&self) -> ProgressStep
fn clone(&self) -> ProgressStep
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ProgressStep
impl Send for ProgressStep
impl Sync for ProgressStep
impl Unpin for ProgressStep
impl UnwindSafe for ProgressStep
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