Module stream_utils

Module stream_utils 

Source
Expand description

Utilitites for the WebTransport streams.

Traits§

ErrorAsErrorCodeExt
Extensions to the stream::ErrorAsErrorCode providing some convenience methods.

Type Aliases§

FinishErrorFor
A shortcut for the error type for a given stream::Finish type.
FinishedErrorFor
A shortcut for the error type for a given stream::Finished type.
ReadAbortErrorFor
A shortcut for the error type for a given stream::ReadAbort type.
ReadAbortedErrorFor
A shortcut for the error type for a given stream::ReadAborted type.
ReadChunkErrorFor
A shortcut for the error type for a given `stream::ReadChunk type.
ReadErrorFor
A shortcut for the error type for a given stream::Read type.
WriteAbortErrorFor
A shortcut for the error type for a given stream::WriteAbort type.
WriteAbortedErrorFor
A shortcut for the error type for a given stream::WriteAborted type.
WriteChunkErrorFor
A shortcut for the error type for a given `stream::WriteChunk type.
WriteErrorFor
A shortcut for the error type for a given stream::Write type.