Enum bdk_chain::spk_client::SyncItem
source · pub enum SyncItem<'i, I> {
Spk(I, &'i Script),
Txid(Txid),
OutPoint(OutPoint),
}
Expand description
An item reported to the inspect
closure of SyncRequest
.
Variants§
Spk(I, &'i Script)
Script pubkey sync item.
Txid(Txid)
Txid sync item.
OutPoint(OutPoint)
Outpoint sync item.
Trait Implementations§
source§impl<'i, I> Ord for SyncItem<'i, I>where
I: Ord,
impl<'i, I> Ord for SyncItem<'i, I>where
I: Ord,
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'i, I> PartialEq for SyncItem<'i, I>where
I: PartialEq,
impl<'i, I> PartialEq for SyncItem<'i, I>where
I: PartialEq,
source§impl<'i, I> PartialOrd for SyncItem<'i, I>where
I: PartialOrd,
impl<'i, I> PartialOrd for SyncItem<'i, I>where
I: PartialOrd,
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<'i, I> Copy for SyncItem<'i, I>where
I: Copy,
impl<'i, I> Eq for SyncItem<'i, I>where
I: Eq,
impl<'i, I> StructuralPartialEq for SyncItem<'i, I>
Auto Trait Implementations§
impl<'i, I> Freeze for SyncItem<'i, I>where
I: Freeze,
impl<'i, I> RefUnwindSafe for SyncItem<'i, I>where
I: RefUnwindSafe,
impl<'i, I> Send for SyncItem<'i, I>where
I: Send,
impl<'i, I> Sync for SyncItem<'i, I>where
I: Sync,
impl<'i, I> Unpin for SyncItem<'i, I>where
I: Unpin,
impl<'i, I> UnwindSafe for SyncItem<'i, I>where
I: UnwindSafe,
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more