API reference Dodo 0.1.4

std/web/stream

Public declarations, types, methods, and source contracts for std/web/stream.

On this page

Library guide · API index and notation

This page is generated from the bundled library in this checkout. Signatures and adjacent source comments are reproduced below; the linked guide explains usage, storage, failures, and platform support.

import "std/web/stream"

Names used in signatures

Unqualified names denote this package’s types (including other source files in the same package), language built-ins, or generic parameters such as T. Qualified names use the import aliases below. These aliases belong to the library source; import a dependency yourself to use its alias in your program.

Alias Package Source file
io std/io stream.dodo

PendingBody

Struct · Source

Backpressure owns a checked borrow of a body fragment until fully delivered. One step makes at most one writer call; Pending never spins or reads ahead.

pub struct PendingBody {
    // Private implementation fields omitted.
}

PendingBody.new

Function · Source

pub fn new(data: &[u8]) -> PendingBody from(data)

PendingBody.remaining

Function · Source

pub fn remaining(&self) -> usize

PendingBody.step

Function · Source

pub fn step<W>(&mut self, output: &mut W) -> io.Poll!io.Error

Type to search all documentation.

Keyboard shortcuts

Search documentation
Ctrl K or /
Move through results
↑ ↓
Open selected result
Enter
Close a dialog
Esc
Show these shortcuts
?