notice_core/
lib.rs

1use std::error::Error;
2
3pub trait Broadcast {
4}
5
6pub trait Unicast {
7}
8
9pub trait Wait {
10    type Error: Error;
11
12    fn wait(&self) -> Result<usize, Self::Error>;
13}
14
15pub trait Notify {
16    type Error: Error;
17
18    fn notify(&self) -> Result<(), Self::Error>;
19}