use-event-status 0.1.0

Event status labels for RustUse event primitives.
Documentation
  • Coverage
  • 8.33%
    1 out of 12 items documented1 out of 5 items with examples
  • Size
  • Source code size: 5.61 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 354.03 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-event
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-event-status

Event status labels for RustUse event primitives.

Install

[dependencies]
use-event-status = "0.1.0"

Example

use use_event_status::EventStatus;

let status = EventStatus::Handled;

assert_eq!(status.as_str(), "handled");
assert!(status.is_terminal());

Scope

  • Provide simple event lifecycle labels.
  • Offer small helpers for terminal and failure statuses.
  • Keep status interpretation with the caller.

Non-Goals

  • No workflow engine.
  • No retry policy.
  • No event state machine.

Status

Experimental v0.1.0 primitive.

License

Licensed under either of the following, at your option:

  • Apache License, Version 2.0
  • MIT license