samod_core/network/conn_direction.rs
1/// Indicates whether a connection was initiated locally or received from a remote peer
2#[derive(Debug, Clone, Copy, PartialEq, Eq)]
3pub enum ConnDirection {
4 /// Connection initiated by this peer (we are the "initiating peer")
5 Outgoing,
6 /// Connection accepted from a remote peer (we are the "receiving peer")
7 Incoming,
8}