Enum safe_core::NetworkEvent [] [src]

pub enum NetworkEvent {
    Connected,
    Disconnected,
}

Netowork Events that Client Modules need to deal with

Variants

The core engine is connected to atleast one peer

The core engine is disconnected from the network (under usual circumstances this would indicate that client connection to proxy node has been lost)

Trait Implementations

impl Debug for NetworkEvent
[src]

[src]

Formats the value using the given formatter.

impl Into<i32> for NetworkEvent
[src]

[src]

Performs the conversion.