notice-core 0.1.0

Traits and some implementations for notify/wait pattern
Documentation
use std::error::Error;

pub trait Broadcast {
}

pub trait Unicast {
}

pub trait Wait {
    type Error: Error;

    fn wait(&self) -> Result<usize, Self::Error>;
}

pub trait Notify {
    type Error: Error;

    fn notify(&self) -> Result<(), Self::Error>;
}