BridgePort

Trait BridgePort 

Source
pub trait BridgePort {
    // Required method
    fn poll_receive(&self, cx: &mut Context<'_>) -> Poll<Vec<u8, MAX_PAYLOAD>>;

    // Provided method
    fn transmitted(&self, _data: &[u8]) { ... }
}
Expand description

An internal backhaul to exactly one device node. Implementations bound their queues and never block the radio when copying a successful node transmission.

Required Methods§

Source

fn poll_receive(&self, cx: &mut Context<'_>) -> Poll<Vec<u8, MAX_PAYLOAD>>

Provided Methods§

Source

fn transmitted(&self, _data: &[u8])

A copy of a frame the radio put on the air, from any client.

Implementors§