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> Ord for SyncItem<'i, I>
impl<'i, I: Ord> Ord for SyncItem<'i, I>
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: PartialOrd> PartialOrd for SyncItem<'i, I>
impl<'i, I: PartialOrd> PartialOrd for SyncItem<'i, I>
impl<'i, I: Copy> Copy for SyncItem<'i, I>
impl<'i, I: Eq> Eq for SyncItem<'i, I>
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