1mod barrier;
2mod handle;
3mod reader;
4mod source;
5mod state;
6mod state_machine;
7
8pub use barrier::*;
9pub use reader::Reader;
10pub use state::*;
11pub use state_m_macro::state_tag;
12pub use state_machine::*;
13use std::{fmt::Debug, hash::Hash};
14
15pub trait KvAssoc {
17 type Value;
18}
19
20pub trait AsState: Clone + Debug + Default + PartialEq {}
22
23impl<T> AsState for T where T: Clone + Debug + Default + PartialEq {}
24
25pub trait AsTag: Clone + Debug + Eq + Hash + Send + Sync {}
27
28impl<T> AsTag for T where T: Clone + Debug + Eq + Hash + Send + Sync {}