Crate xwt_wtransport

Source
Expand description

The wtransport-powered implementation of xwt_core.

Re-exports§

pub use wtransport;
pub use xwt_core as core;

Modules§

error_codes
Conversions of the WebTransport error codes from and to the HTTP3 error codes.

Structs§

Connection
The wtransport::Connection newtype.
Datagram
The wtransport::datagram::Datagram newtype.
Endpoint
The wtransport::Endpoint<Side> newtype.
IncomingSession
The wtransport::endpoint::IncomingSession newtype.
OpeningBiStream
The wtransport::stream::OpeningBiStream newtype.
OpeningUniStream
The wtransport::stream::OpeningUniStream newtype.
RecvStream
The wtransport::RecvStream newtype.
SendStream
The wtransport::SendStream newtype.
SessionRequest
The wtransport::endpoint::SessionRequest newtype.
StreamErrorCode
The u32 newtype.

Enums§

StreamReadError
The read error.
StreamWriteError
The write error.
WriteAbortedError
An error that can occur while waiting for the write stream being aborted.

Type Aliases§

Session
Expose the Session as a type alias for Connection, as wtransport does not use the session terminology but it might be convenient for the xwt users.