Skip to main content

Crate aria_primitives

Crate aria_primitives 

Source
Expand description

Foundational capabilities shared by Aria subsystems.

Modules§

cancel
Cooperative cancellation and operation deadlines.
file_inspectionNon-target_family=wasm
Inspection of filesystem targets: canonical paths, metadata snapshots, executability, and whether the daemon may rely on them.
lazy
A value built on first use.
local_socketNon-target_family=wasm
Exclusive ownership of a private Unix listener and its filesystem paths.
private_documentNon-target_family=wasm
A small JSON document only its owner may read, replaced atomically.
private_fsNon-target_family=wasm
Filesystem primitives for state that must remain private to the current user.
processNeither target_family=wasm nor iOS
Running another program: the process itself, and a protocol over one.
slot
A build-once cell for a value whose construction can fail.
threadNon-target_family=wasm
A thread that must keep up with a realtime producer.
user_home
Resolution and validation of the current user’s home directory.
wakeupNon-target_family=wasm
A self-pipe: something that has to interrupt a poll loop writes to it, and the loop sees an ordinary readable file descriptor.

Functions§

error_chain
An error and every cause under it, joined into one line. A cause the message already ends with is not repeated.