use-event-dispatch 0.1.0

Dispatch status and outcome primitives for RustUse events.
Documentation
1
2
3
4
5
6
7
8
use use_event_dispatch::{DispatchOutcome, DispatchStatus};

fn main() {
    let outcome = DispatchOutcome::dispatched();

    assert_eq!(outcome.status, DispatchStatus::Dispatched);
    assert!(outcome.is_success());
}