Struct bdk_chain::spk_client::SyncProgress
source · 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: usize
Script pubkeys consumed by the request.
spks_remaining: usize
Script pubkeys remaining in the request.
txids_consumed: usize
Txids consumed by the request.
txids_remaining: usize
Txids remaining in the request.
outpoints_consumed: usize
Outpoints consumed by the request.
outpoints_remaining: usize
Outpoints 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