Expand description
Runtime data types for the peace automation framework.
This crate re-exports types from peace_rt_model_native
or
peace_rt_model_web
depending on the compilation target architecture.
Re-exports§
pub use peace_data::fn_graph;
Modules§
- indicatif
- indicatif is a library for Rust that helps you build command line interfaces that report progress to users. It comes with various tools and utilities for formatting anything that indicates progress.
- outcomes
- Type that represent outcomes of execution.
- output
- params
- Serializable data to initialize resources in a
CmdContext
. - workspace
- Types that store information about the directories that a command runs in.
Structs§
- FnRef
- A reference to the function, which also signals when the reference is dropped.
- InMemory
Text Output - An
OutputWrite
implementation that writes to the command line. - Index
Map - A hash table where the iteration order of the key-value pairs is independent of the hash values of the keys.
- Item
Boxed - Holds a type-erased
ItemWrapper
in aBox
. - Item
Wrapper - Wraps a type implementing
Item
. - Items
State Stored Stale - Items whose stored and discovered state are not equal.
- Params
Specs Deserialize Error - Params
Specs Serializer - Reads and writes
ParamsSpecs
to and from storage. - Params
Specs Type Reg - Type registry for each item’s
Params
’s Spec. - States
Deserialize Error - States
Type Reg - Type registry for each item’s
State
. - Storage
- Wrapper around file system operations.
- Sync
IoBridge - Use a
tokio::io::AsyncRead
synchronously as astd::io::Read
or atokio::io::AsyncWrite
synchronously as astd::io::Write
. - Workspace
- Workspace that the
peace
tool runs in. - Workspace
Dirs Builder - Computes paths of well-known directories for a workspace.
- Workspace
Initializer - Logic to create peace directories and reads/writes initialization params.
Enums§
- Apply
CmdError - Error applying changes to items.
- Error
- Peace runtime errors.
- Native
Error - Peace runtime errors.
- State
Downcast Error - Error downcasting a
BoxDtDisplay
into an item’s concrete state type. - State
Stored AndDiscovered - Stored and/or discovered state for an item.
- Workspace
Spec - Describes how to discover the workspace directory.