Crate c2pa_status_tracker

Source
Expand description

§C2PA status tracking implementation

CI Latest Version docs.rs [codecov

This crate supports the implementation of c2pa-rs and other related crates and is not intended as a general-purpose public API.

Modules§

validation_codes
Implements validation status for specific parts of a manifest.

Macros§

log_item
Creates a LogItem struct that is annotated with the source file and line number where the log condition was discovered.

Structs§

DetailedStatusTracker
A DetailedStatusTracker aggregates all log conditions observed during a validation pass.
LogItem
Detailed information about an error or other noteworthy condition.
OneShotStatusTracker
A OneShotStatusTracker will trigger an error upon the first call to its add_error function, which is designed to abort any unnecessary computation if the overall result is unnecessary.

Enums§

LogKind
Descriptive nature of this LogItem.

Traits§

StatusTracker
A StatusTracker is used in the validation logic of c2pa-rs and related crates to control error-handling behavior and optionally aggregate log messages as they are generated.