Trait scuttlebutt::Events
[−]
[src]
pub trait Events { fn events(&mut self) -> Result<Receiver<Event>>; fn generator<Bytes>(&self, bytes: Bytes) -> Result<Receiver<Event>>
where
Bytes: 'static + Iterator<Item = Result<u8>>,
Bytes: Send, { ... } }
Events provides a means for generating a receiver for events
Required Methods
Provided Methods
fn generator<Bytes>(&self, bytes: Bytes) -> Result<Receiver<Event>> where
Bytes: 'static + Iterator<Item = Result<u8>>,
Bytes: Send,
Bytes: 'static + Iterator<Item = Result<u8>>,
Bytes: Send,
Implementors
impl Events for Cluster