Expand description
The exec handle and the cursor-driven stream, with the production exec id.
Re-exports§
pub use super::mint_exec_id;
Structs§
- Exec
Handle - One exec, addressed by its caller-minted id.
- Exec
Result - An exec’s phase and, once it has one, its outcome.
- Stream
End - Why a stream stopped, and where a resume would pick up.
- Stream
Options - How a stream should behave. See
ExecHandle::stream_with.
Enums§
- EndReason
- The three ways a stream ends without an error.
Constants§
- DEFAULT_
EXEC_ WAIT - The deadline the bindings pass to
ExecHandle::wait,ExecHandle::wait_and_ackand a one-shotSession::run_syncwhen their caller names none: five minutes, the Python client’s figure. Those methods take a deadline, so core itself never reads this; it’s here so both bindings default to one figure. - DEFAULT_
STREAM_ IDLE_ TIMEOUT - How long an attached stream may be silent before it is treated as dead.
- TIMED_
OUT_ EXIT_ CODE - The exit code GNU
timeout(1)reports for a command its deadline ended, and the oneExecResult::posix_exit_codereports for a deadline (BIND-6).
Functions§
- exec_
id_ at - A fresh exec id for the wall time
unix, since the epoch:x-plus 16 hex characters, the Python client’s shape.
Type Aliases§
- Stdin
Ack - What a stdin write accomplished.