Type Alias InputStream
pub type InputStream = Box<dyn InputStream>;Expand description
An input bytestream.
input-streams are non-blocking to the extent practical on underlying
platforms. I/O operations always return promptly; if fewer bytes are
promptly available than requested, they return the number of bytes promptly
available, which could even be zero. To wait for data to be available,
use the subscribe function to obtain a pollable which can be polled
for using wasi:io/poll.
Aliased Typeยง
pub struct InputStream(/* private fields */);