1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
mod connection;
mod endpoint;
mod error;
mod listener;
mod transports;
pub use {
connection::{dial, Conn, Connection},
endpoint::{Addr, Endpoint, Port},
listener::{listen, Listener},
transports::{
tcp::{dial_tcp, listen_tcp, TcpConn},
udp::{dial_udp, listen_udp, UdpConn},
unix::{dial_unix, listen_unix, UnixConn},
},
};
use error::{Error, Result};
/// Represents karyons's Net Error
pub use error::Error as NetError;
/// Represents karyons's Net Result
pub use error::Result as NetResult;
|