[−][src]Type Definition craftio_rs::CraftTcpConnection
type CraftTcpConnection = CraftConnection<StdBufReader<TcpStream>, TcpStream>;
Implementations
impl CraftTcpConnection
[src]
pub fn connect_server_std<A>(to: A) -> Result<Self, Error> where
A: ToSocketAddrs,
[src]
A: ToSocketAddrs,
pub fn wrap_client_stream_std(stream: TcpStream) -> Result<Self, Error>
[src]
pub fn from_std(
s1: TcpStream,
read_direction: PacketDirection
) -> Result<Self, Error>
[src]
s1: TcpStream,
read_direction: PacketDirection
) -> Result<Self, Error>
pub fn from_std_with_state(
s1: TcpStream,
read_direction: PacketDirection,
state: State
) -> Result<Self, Error>
[src]
s1: TcpStream,
read_direction: PacketDirection,
state: State
) -> Result<Self, Error>