pub struct SyncProgress {
pub spks_consumed: usize,
pub spks_remaining: usize,
pub txids_consumed: usize,
pub txids_remaining: usize,
pub outpoints_consumed: usize,
pub outpoints_remaining: usize,
}Expand description
The progress of SyncRequest.
Fields§
§spks_consumed: usizeScript pubkeys consumed by the request.
spks_remaining: usizeScript pubkeys remaining in the request.
txids_consumed: usizeTxids consumed by the request.
txids_remaining: usizeTxids remaining in the request.
outpoints_consumed: usizeOutpoints consumed by the request.
outpoints_remaining: usizeOutpoints remaining in the request.
Implementations§
Source§impl SyncProgress
impl SyncProgress
Sourcepub fn total_spks(&self) -> usize
pub fn total_spks(&self) -> usize
Total script pubkeys, consumed and remaining, of the request.
Sourcepub fn total_txids(&self) -> usize
pub fn total_txids(&self) -> usize
Total txids, consumed and remaining, of the request.
Sourcepub fn total_outpoints(&self) -> usize
pub fn total_outpoints(&self) -> usize
Total outpoints, consumed and remaining, of the request.
Trait Implementations§
Source§impl Clone for SyncProgress
impl Clone for SyncProgress
Source§fn clone(&self) -> SyncProgress
fn clone(&self) -> SyncProgress
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 Freeze for SyncProgress
impl RefUnwindSafe for SyncProgress
impl Send for SyncProgress
impl Sync for SyncProgress
impl Unpin for SyncProgress
impl UnwindSafe for SyncProgress
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