pub struct MempoolEvent {
pub update: Vec<(Arc<Transaction>, u64)>,
pub evicted: Vec<(Txid, u64)>,
}Expand description
A new emission from mempool.
Fields§
§update: Vec<(Arc<Transaction>, u64)>Transactions currently in the mempool alongside their seen-at timestamp.
evicted: Vec<(Txid, u64)>Transactions evicted from the mempool alongside their evicted-at timestamp.
Trait Implementations§
Source§impl Debug for MempoolEvent
impl Debug for MempoolEvent
Source§impl Default for MempoolEvent
impl Default for MempoolEvent
Source§fn default() -> MempoolEvent
fn default() -> MempoolEvent
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MempoolEvent
impl RefUnwindSafe for MempoolEvent
impl Send for MempoolEvent
impl Sync for MempoolEvent
impl Unpin for MempoolEvent
impl UnwindSafe for MempoolEvent
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