Modules§
- debug_
tools - ipc
- json
- logging
- Tracing-based logging setup. Useful documentation: https://docs.rs/tracing-subscriber/latest/tracing_subscriber/layer/index.html#per-layer-filtering
- panic_
hooks - password
- process
- Utilities for process management, including tracking and spawning subprocesses.
- reader
- Utilities for working with streams.
- resource_
lock - Re-entrant lock manager that prevents multiple threads or processes from concurrently holding a lock on the same resource. I’m using it to mimic transactions in a database, but it could be used for other things too. It’s LLM generated and I don’t really understand all of it. Works on a best-effort basis; it’s likely to be flaky on network filesystems, FUSE, non-POSIX OSes, etc.
- serde_
value - Utilities for working with
serde_json::Valueobjects, including insertion, extraction, and conversion operations.
Macros§
- debug
- debug_
fmt - error
- hc_
internal_ log_ debug - Logs a message at the debug level.
- hc_
internal_ log_ error - Logs a message at the error level.
- hc_
internal_ log_ info - Logs a message at the info level.
- hc_
internal_ log_ warn - Logs a message at the warn level.
- info
- info_
fmt - json
- log
- log_fmt
- warn
- warn_
fmt
Structs§
Constants§
Traits§
- Context
- Provides the
contextmethod forResult.
Functions§
- assert_
string_ contains - assert_
string_ not_ contains - assert_
vec_ u8_ eq - assert_
vec_ u8_ ok_ eq - assert_
vec_ u32_ eq - assert_
vec_ u32_ ok_ eq - backtrace_
print - backtrace_
string - build_
info - call_
ipc - call_
ipc_ sync - cleanup_
processes - feature
- find_
first_ matching_ key_ for_ value - fmt_
mismatch_ string - fmt_
mismatch_ vec_ u8 - fmt_
mismatch_ vec_ u32 - fork
- generate_
authentication_ key - get_
ctoolbox_ 🔒process - get_
current_ test_ name - get_
service_ name - get_
this_ executable - in_
array - is_
subprocess - listen_
for_ message - maybe_
send_ message - remove_
suffix - send_
message - setup_
panic_ hooks - shutdown
- sleep
- strtohex
- strtovec
- substr_
mb - this_
pid - u8_
vec_ to_ formatted_ hex - u32_
vec_ to_ formatted_ hex - upgrade_
in_ place - usleep
- vectohex
- vectostr
- wait_
for_ ctoolbox_ exit_ and_ clean_ up - wait_
for_ ctoolbox_ process_ exit - wait_
for_ message
Type Aliases§
- Result
Result<T, Error>