Enum everscale_network::adnl::NewPeerContext
source · pub enum NewPeerContext {
AdnlPacket,
Dht,
PublicOverlay,
}Expand description
The context in which the new peer is added
Variants§
Trait Implementations§
source§impl Clone for NewPeerContext
impl Clone for NewPeerContext
source§fn clone(&self) -> NewPeerContext
fn clone(&self) -> NewPeerContext
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 NewPeerContext
impl Debug for NewPeerContext
source§impl Hash for NewPeerContext
impl Hash for NewPeerContext
source§impl PartialEq<NewPeerContext> for NewPeerContext
impl PartialEq<NewPeerContext> for NewPeerContext
source§fn eq(&self, other: &NewPeerContext) -> bool
fn eq(&self, other: &NewPeerContext) -> bool
This method tests for
self and other values to be equal, and is used
by ==.