Crate xwt_anchor

Source
Expand description

The anchor types for xwt_core.

Intended to be useful in overcoming the restriction on the implementations for foreign types.

That is - if you want to implement something for xwt_core but can’t - implement it concretely for an xwt_anchor type and switch to using xwt_anchor-wrapped types instead of raw xwt_core traits where applicable.

This implementation is experimental, and we’ll see on whether we’ll keep maintaining it.

Re-exports§

pub use xwt_core as core;

Modules§

prelude
Commonly used types and traits.

Macros§

for_all_material_types
Invoke a macro with a comma-separated list of all material types.

Structs§

Accepting
A state of a accepting WebTransport session.
Connecting
A state of a connecting WebTransport session.
Datagram
A WebTransport datagram.
Endpoint
A WebTransport endpoint.
OpeningBiStream
An state for an opening bidirectional WebTransport stream.
OpeningUniStream
An state for an opening unidirectional WebTransport stream.
RecvStream
A WebTransport recv-stream.
Request
An incoming WebTransport session request.
SendStream
A WebTransport send-stream.
Session
A WebTransport session.
Streams
A pair of WebTransport streams.