netstack3_core::device

Trait TransmitQueueBindingsContext

Source
pub trait TransmitQueueBindingsContext<DeviceId> {
    // Required method
    fn wake_tx_task(&mut self, device_id: &DeviceId);
}
Expand description

The bindings context for the transmit queue.

Required Methods§

Source

fn wake_tx_task(&mut self, device_id: &DeviceId)

Signals to bindings that TX frames are available and ready to be sent over the device.

Implementations must make sure that the API call to handle queued packets is scheduled to be called as soon as possible so that enqueued TX frames are promptly handled.

Implementors§