Module stream

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§

ErrorAsErrorCode
Returns the error code for the stream operation error when the error originates from a stream abort. If an error
Finish
Finish the write stream.
Finished
Wait for the read stream to finish.
Read
Read the data from the stream.
ReadAbort
Abort the read stream.
ReadAborted
Wait for the read stream to abort.
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.

Type Aliases§

ErrorCode
The error code that can be passed when aborting the send or receive side of the stream.