Enum nakamoto_node::client::protocol::Event
[−]pub enum Event {
Initializing,
Ready {
height: u64,
filter_height: u64,
time: LocalTime,
},
Received(SocketAddr, NetworkMessage),
Address(Event),
Chain(Event),
Peer(Event),
Filter(Event),
Inventory(Event),
}Expand description
A peer-to-peer event.
Variants
Initializing
The node is initializing its state machine and about to start network activity.
Ready
The node is initialized and ready to receive commands.
Received(SocketAddr, NetworkMessage)
Received a message from a peer.
Address(Event)
An address manager event.
Chain(Event)
A sync manager event.
Peer(Event)
A peer manager event.
Filter(Event)
A CBF manager event.
Inventory(Event)
An inventory manager event.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl !UnwindSafe for Event
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more