Crate rd_interface[][src]

Modules

config

Structs

Arc

A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.

CombineNet

A new Net calls tcp_connect, tcp_bind, udp_bind from different Net.

Context

A context stores a source endpoint, a process info and other any values during connecting.

NotImplementedNet

A no-op Net returns Error::NOT_IMPLEMENTED for every method.

Registry
RemoteHandle

The handle to a remote future returned by remote_handle. When you drop this, the remote future will be woken up to be dropped by the executor.

Enums

Address

Address can be IPv4, IPv6 address or a domain with port.

Error

Constants

NOT_IMPLEMENTED

Traits

AsyncRead

Read bytes asynchronously.

AsyncWrite

Write bytes asynchronously.

INet

A Net.

IServer

A Server.

ITcpListener

A TcpListener

ITcpStream

A TcpStream

IUdpSocket

A UdpSocket

IntoAddress

Converts to address value.

Type Definitions

Net
Result
Server
TcpListener
TcpStream
UdpSocket

Attribute Macros

async_trait