Trait IODriverSimulator

Source
pub trait IODriverSimulator {
    // Required methods
    fn get_from_device_network_side(&self) -> Option<u8>;
    fn put_to_device_network_side(&self, byte: u8);
    fn get_from_tx_pin(&self) -> Option<u8>;
    fn put_to_rx_pin(&self, byte: u8);
    fn start_tick(&self);
    fn end_tick(&self);
    fn readable(&self) -> bool;
    fn writable(&self) -> bool;
    fn get_name(&self) -> &str;
}

Required Methods§

Implementors§