Enum discv5::handler::ConnectionDirection
source · pub enum ConnectionDirection {
Incoming,
Outgoing,
}Expand description
How we connected to the node.
Variants§
Trait Implementations§
source§impl Clone for ConnectionDirection
impl Clone for ConnectionDirection
source§fn clone(&self) -> ConnectionDirection
fn clone(&self) -> ConnectionDirection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ConnectionDirection
impl Debug for ConnectionDirection
source§impl Display for ConnectionDirection
impl Display for ConnectionDirection
source§impl PartialEq<ConnectionDirection> for ConnectionDirection
impl PartialEq<ConnectionDirection> for ConnectionDirection
source§fn eq(&self, other: &ConnectionDirection) -> bool
fn eq(&self, other: &ConnectionDirection) -> bool
This method tests for
self and other values to be equal, and is used
by ==.