mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-11 01:33:06 +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 },
|
|
}
|