Crate zerortt_api

Crate zerortt_api 

Source

Re-exports§

pub use quiche;

Structs§

Acceptorserver
Accept new inbound quic connection.
Event
Readiness I/O event.
SimpleAddressValidatorserver
A default implementation for AddressValidator
Token
Associates readiness events with quic connection.

Enums§

Error
A poll error.
EventKind
Type for readiness events.
Handshakeserver
Handshake result, returns by handshake function.
StreamKind
Stream type.

Traits§

AddressValidatorserver
Address validation trait.
QuicBind
A group with underlying transport layer.
QuicClientclient
API for client-side QUIC.
QuicPoll
A poll api for QUIC group.
QuicServerTransportserver
Underlying transport layer API for server-side QUIC group.
QuicTransport
Underlying transport layer API for QUIC group.
WouldBlock
A trait to filter WouldBlock like errors and convert them into Poll::Pending

Functions§

is_bidi
Returns true if the stream is bidirectional.
is_local
Returns true if the stream was created locally.
random_conn_id
Generate a random ConnectionId

Type Aliases§

Result
Short for std::result::Result<T, crate::poll::Error>