trickle 0.0.1

Simple message bus library
Documentation
1
2
3
4
5
6
pub trait Receiver<T> {
    /// Receive an event of type T and handle it
    /// Returns true or false depending on if the event was handeled
    /// by this receiver or one of its child nodes
    fn handle(&mut self, event: &T) -> bool;
}