pub struct PumpReport {
pub pushed: usize,
pub push_deduped: usize,
pub folded: usize,
pub acked: Option<Hlc>,
}Expand description
What one SyncSession::pump round did.
Fields§
§pushed: usizeOwn ops newly admitted by the relay.
push_deduped: usizeOwn ops the relay already held.
folded: usizeRemote ops pulled, verified, journaled, and folded this round.
acked: Option<Hlc>The fold frontier acked (derived from journal-held ops), if any.
Trait Implementations§
Source§impl Clone for PumpReport
impl Clone for PumpReport
Source§fn clone(&self) -> PumpReport
fn clone(&self) -> PumpReport
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 Debug for PumpReport
impl Debug for PumpReport
Source§impl Default for PumpReport
impl Default for PumpReport
Source§fn default() -> PumpReport
fn default() -> PumpReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for PumpReport
impl PartialEq for PumpReport
Source§fn eq(&self, other: &PumpReport) -> bool
fn eq(&self, other: &PumpReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PumpReport
Auto Trait Implementations§
impl Freeze for PumpReport
impl RefUnwindSafe for PumpReport
impl Send for PumpReport
impl Sync for PumpReport
impl Unpin for PumpReport
impl UnsafeUnpin for PumpReport
impl UnwindSafe for PumpReport
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