Skip to main content

BleSource

Trait BleSource 

Source
pub trait BleSource {
    type Error: Debug;

    // Required method
    async fn recv_frame(&mut self, out: &mut [u8]) -> Result<usize, Self::Error>;
}

Required Associated Types§

Required Methods§

Source

async fn recv_frame(&mut self, out: &mut [u8]) -> Result<usize, Self::Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§