blob: 7f8cfce4d7896517fdafb52199cdee8f00cae748 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
use tokio::net::TcpStream;
pub struct ConnectionInstance {
stream: TcpStream,
}
impl From<TcpStream> for ConnectionInstance {
fn from(value: TcpStream) -> Self {
Self { stream: value }
}
}
|