Structs§
- Async
Handler Guard - Eval
Hook Guard - RAII guard that restores the previous eval hook on drop.
- Interaction
Prompt Owned
Enums§
- Interaction
Kind - Narrow set of interaction kinds used for host I/O hooks.
- Interaction
Response
Functions§
- current_
eval_ hook - Return the currently installed eval hook, if any.
- default_
read_ line - default_
wait_ for_ key - push_
queued_ response - replace_
async_ handler - replace_
eval_ hook - Replace the global eval hook for the duration of the returned guard’s
lifetime. Mirrors the pattern used by
replace_async_handler. - request_
line_ async - wait_
for_ key_ async
Type Aliases§
- Async
Interaction Future - Async
Interaction Handler - Eval
Hook Fn - Function signature for the eval hook.
- Eval
Hook Future - Future returned by the eval hook.