Module stream

Source
Expand description

Operations on the WebTransport streams.

Modules§

chunk
Provided ReadableChunk and WriteableChunk implementations.

Structs§

Chunk
An chunk of data with an explicit offset in the stream.

Traits§

AsErrorCode
A way to represent a stream operation error as an error code.
Finish
Finish the write stream.
Read
Read the data from the stream.
ReadAbort
Abort the read stream.
ReadChunk
Read a Chunk from a stream.
ReadableChunk
Something that specifies the data type for a Chunk that can be read from a stream.
Write
Write the data to a stream.
WriteAbort
Abort the write stream.
WriteAborted
Wait for the write stream to abort.
WriteChunk
Write a Chunk to a stream.
WriteableChunk
Something that specifies the data type for a Chunk that can be written to a stream.