Crate fake_netstack

source ·
Expand description

A fake netstack that implements a limited subset of fuchsia.posix.socket/Provider in order to support benchmarking API overhead.

Structs

Enums

Constants

Statics

CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒

Functions

copy_bytes 🔒
This function hand-rolls a very simple way of greedily shuttling bytes between a reader and a writer using a single buffer between them. Something like this, wrapped in a single type that is both AsyncWrite and AsyncRead with a preferably circular buffer backing it would probably be better and useful, alas it doesn’t exist in futures or async_utils at the moment of writing.
main 🔒

Type Definitions

Opaque Types

 🔒
 🔒
 🔒
 🔒
 🔒