API reference Dodo 0.1.4

std/net/operations

Public declarations, types, methods, and source contracts for std/net/operations.

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/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

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
?