mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-03-25 19:53:07 +00:00
12 lines
256 B
Rust
12 lines
256 B
Rust
|
|
use crate::network_protocol::PeerAddr;
|
||
|
|
|
||
|
|
#[derive(Debug)]
|
||
|
|
///Structure, representing peer connection
|
||
|
|
pub struct Connection {}
|
||
|
|
|
||
|
|
#[derive(Debug)]
|
||
|
|
pub enum ConnectionType {
|
||
|
|
Inbound { conn: Connection },
|
||
|
|
Outbound { conn: Connection, peer: PeerAddr },
|
||
|
|
}
|