Skip to main content

Module product_buffered_reader

Module product_buffered_reader 

Source
Expand description

True BufferedReaderParentLink owners for product residual variants.

Replaces link_noop_BufferedReaderParentLink! for the closed-set arms that are not already owned by bun_install (LifecycleScript / SecurityScan). Each owner is a thin, testable state machine: buffer / done / last error / optional event-loop backrefs. Real domain types (Subprocess, Shell, Cron, …) can later embed or replace these without changing the link_impl registration.

§Dual-def rule

Do not re-register LifecycleScript / SecurityScan (live in bun_install). Product residual must not also link_noop the variants registered here.

Structs§

CronRegisterParent
CronRemoveParent
FileReaderParent
FileResponseStreamParent
FilterRunHandleParent
MultiRunPipeReaderParent
ProductReaderState
Thin parent state shared by all product residual BufferedReader variants.
ShellIoReaderParent
ShellPipeReaderParent
SubprocessPipeReaderParent
TerminalParent
TestParallelWorkerPipeParent

Functions§

force_link_product_buffered_reader
Ensure product BufferedReaderParentLink link_impl units stay live. Referenced from lib.rs via force_link_native_c_libs.