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/net/operations"
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 |
operations.dodo |
net |
std/net |
operations.dodo |
read
Function · Source
Explicit blocking compositions. The readiness provider is the stream’s wait_ready(Interest, milliseconds)->bool!net.Error capability; fake streams can supply deterministic execution. Cancellation latency is <=10ms plus one nonblocking attempt and user provider execution. Empty I/O touches no provider.
pub fn read<S, C, X>(stream: &mut S, destination: &mut[u8], operation: &net.Operation, clock: &mut C, cancel: &X) -> usize!io.Error
write_all
Function · Source
pub fn write_all<S, C, X>(stream: &mut S, source: &[u8], operation: &net.Operation, clock: &mut C, cancel: &X) -> usize!io.Error