Trait breadx::display::AsyncConnection [−][src]
Asynchronous breadx connection.
Required methods
fn send_packet<'future, 'a, 'b, 'c>(
&'a mut self,
bytes: &'b [u8],
fds: &'c mut Vec<Fd>
) -> GenericConnFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,
[src]
&'a mut self,
bytes: &'b [u8],
fds: &'c mut Vec<Fd>
) -> GenericConnFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,
Send a packet across the connection in an async manner.
fn read_packet<'future, 'a, 'b, 'c>(
&'a mut self,
bytes: &'b mut [u8],
fds: &'c mut Vec<Fd>
) -> GenericConnFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,
[src]
&'a mut self,
bytes: &'b mut [u8],
fds: &'c mut Vec<Fd>
) -> GenericConnFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,
Read a packet from the connection in an async manner.
Implementations on Foreign Types
impl AsyncConnection for TcpStream
[src]
fn send_packet<'future, 'a, 'b, 'c>(
&'a mut self,
bytes: &'b [u8],
fds: &'c mut Vec<Fd>
) -> GenericConnFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,
[src]
&'a mut self,
bytes: &'b [u8],
fds: &'c mut Vec<Fd>
) -> GenericConnFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,
fn read_packet<'future, 'a, 'b, 'c>(
&'a mut self,
bytes: &'b mut [u8],
fds: &'c mut Vec<Fd>
) -> GenericConnFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,
[src]
&'a mut self,
bytes: &'b mut [u8],
fds: &'c mut Vec<Fd>
) -> GenericConnFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,
impl AsyncConnection for UnixStream
[src]
fn send_packet<'future, 'a, 'b, 'c>(
&'a mut self,
bytes: &'b [u8],
fds: &'c mut Vec<Fd>
) -> GenericConnFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,
[src]
&'a mut self,
bytes: &'b [u8],
fds: &'c mut Vec<Fd>
) -> GenericConnFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,
fn read_packet<'future, 'a, 'b, 'c>(
&'a mut self,
bytes: &'b mut [u8],
fds: &'c mut Vec<Fd>
) -> GenericConnFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,
[src]
&'a mut self,
bytes: &'b mut [u8],
fds: &'c mut Vec<Fd>
) -> GenericConnFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,
Implementors
impl AsyncConnection for AsyncNameConnection
[src]
fn send_packet<'future, 'a, 'b, 'c>(
&'a mut self,
bytes: &'b [u8],
fds: &'c mut Vec<Fd>
) -> GenericConnFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,
[src]
&'a mut self,
bytes: &'b [u8],
fds: &'c mut Vec<Fd>
) -> GenericConnFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,
fn read_packet<'future, 'a, 'b, 'c>(
&'a mut self,
bytes: &'b mut [u8],
fds: &'c mut Vec<Fd>
) -> GenericConnFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,
[src]
&'a mut self,
bytes: &'b mut [u8],
fds: &'c mut Vec<Fd>
) -> GenericConnFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,