[−][src]Enum nakamoto_node::node::Event
Variants
Listening(SocketAddr)The node is now listening for incoming connections.
The node is connecting to the network and isn't ready to start syncing.
The node started syncing with the network.
The node has finished syncing and is ready to accept connections and process commands.
Connected(SocketAddr, Link)A new peer has connected and is ready to accept messages. This event is triggered after the peer handshake has successfully completed.
Disconnected(SocketAddr)A peer has been disconnected.
Received(SocketAddr, M)Received a message from a peer.
HeadersImported(ImportResult)Headers have been imported into the block store.
Trait Implementations
impl<M> Clone for Event<M> where
M: Clone, [src]
M: Clone,
impl<M> Debug for Event<M> where
M: Debug, [src]
M: Debug,
impl<M> Eq for Event<M> where
M: Eq, [src]
M: Eq,
impl<M> PartialEq<Event<M>> for Event<M> where
M: PartialEq<M>, [src]
M: PartialEq<M>,
Auto Trait Implementations
impl<M> RefUnwindSafe for Event<M> where
M: RefUnwindSafe,
M: RefUnwindSafe,
impl<M> Send for Event<M> where
M: Send,
M: Send,
impl<M> Sync for Event<M> where
M: Sync,
M: Sync,
impl<M> Unpin for Event<M> where
M: Unpin,
M: Unpin,
impl<M> UnwindSafe for Event<M> where
M: UnwindSafe,
M: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,