Skip to main content

Bearer

Trait Bearer 

Source
pub trait Bearer: Send + Sync {
    // Required method
    fn send(&self, ad_type: u8, data: Vec<u8>) -> BoxFuture<'_, ()>;
}
Expand description

Puts one AD structure of Mesh on the air.

Required Methods§

Source

fn send(&self, ad_type: u8, data: Vec<u8>) -> BoxFuture<'_, ()>

Sends data as one AD structure of ad_type.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§