Crate rd_interface

Source

Re-exports§

pub use context::Context;
pub use error::Error;
pub use error::Result;
pub use error::NOT_IMPLEMENTED;
pub use registry::Registry;
pub use util::CombineNet;
pub use util::NotImplementedNet;
pub use crate::Context;
pub use crate::Address;
pub use crate::Error;
pub use crate::Result;

Modules§

constant
context
error
registry
util

Macros§

impl_async_read_write

Structs§

Arc
A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
ReadBuf
A wrapper around a byte buffer that is incrementally filled and initialized.

Enums§

Address
Address can be IPv4, IPv6 address or a domain with port.
Value
Represents any valid JSON value.

Traits§

AsyncRead
Reads bytes from a source.
AsyncWrite
Writes bytes asynchronously.
INet
A Net.
IServer
A Server.
ITcpListener
A TcpListener.
ITcpStream
A TcpStream.
IUdpChannel
The other side of an UdpSocket
IUdpSocket
A UdpSocket.
IntoAddress
Converts to address value.
IntoDyn

Type Aliases§

Net
Server
TcpListener
TcpStream
UdpChannel
UdpSocket

Attribute Macros§

async_trait