Trait AsyncMinitelReadWrite

Source
pub trait AsyncMinitelReadWrite: AsyncMinitelRead + AsyncMinitelWrite {
    // Provided methods
    async fn read_rom(&mut self) -> Result<Rom> { ... }
    async fn get_pos(&mut self) -> Result<(u8, u8)> { ... }
    async fn set_function_mode(
        &mut self,
        mode: FunctionMode,
        enable: bool,
    ) -> Result<()> { ... }
    async fn set_routing(
        &mut self,
        enable: bool,
        recepter: RoutingRx,
        emitter: RoutingTx,
    ) -> Result<()> { ... }
    async fn get_speed(&mut self) -> Result<Baudrate> { ... }
}

Provided Methods§

Source

async fn read_rom(&mut self) -> Result<Rom>

Source

async fn get_pos(&mut self) -> Result<(u8, u8)>

Source

async fn set_function_mode( &mut self, mode: FunctionMode, enable: bool, ) -> Result<()>

Source

async fn set_routing( &mut self, enable: bool, recepter: RoutingRx, emitter: RoutingTx, ) -> Result<()>

Source

async fn get_speed(&mut self) -> Result<Baudrate>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§