Skip to main content

BleSink

Trait BleSink 

Source
pub trait BleSink {
    type Error: Debug;

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

Required Associated Types§

Required Methods§

Source

async fn send_frame(&mut self, frame: &[u8]) -> Result<(), Self::Error>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§