Trait EnetDevice

Source
pub trait EnetDevice {
    // Required methods
    fn name(&self) -> &str;
    fn number(&self) -> u32;
    fn kind(&self) -> DeviceKind;
    fn subscribe(&self) -> EventualReader<DeviceValue>;
}

Required Methods§

Source

fn name(&self) -> &str

Source

fn number(&self) -> u32

Source

fn kind(&self) -> DeviceKind

Source

fn subscribe(&self) -> EventualReader<DeviceValue>

Implementors§