pub enum WsEvent {
Block(BlockEvent),
MempoolInfo(MempoolInfoEvent),
Fees(FeeEstimates),
AddressTx(AddressTxEvent),
TxConfirmed(TxConfirmedEvent),
ConnectionStatus(WsConnectionStatus),
}Expand description
WebSocket event types.
Variants§
Block(BlockEvent)
New block mined
MempoolInfo(MempoolInfoEvent)
Mempool update
Fees(FeeEstimates)
Fee rate update
AddressTx(AddressTxEvent)
Address transaction detected
TxConfirmed(TxConfirmedEvent)
Transaction confirmed
ConnectionStatus(WsConnectionStatus)
Connection status changed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WsEvent
impl RefUnwindSafe for WsEvent
impl Send for WsEvent
impl Sync for WsEvent
impl Unpin for WsEvent
impl UnwindSafe for WsEvent
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