Trait ChannelEvent

Source
pub trait ChannelEvent {
    // Required methods
    fn channel(&self) -> u8;
    fn channel_mut(&mut self) -> &mut u8;
}
Expand description

A trait that describes an event that is always connected to a channel

Required Methods§

Source

fn channel(&self) -> u8

Source

fn channel_mut(&mut self) -> &mut u8

Implementors§