fidl_fuchsia_wlan_tap

Trait WlantapPhyProxyInterface

Source
pub trait WlantapPhyProxyInterface: Send + Sync {
    type ShutdownResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn shutdown(&self) -> Self::ShutdownResponseFut;
    fn rx(&self, data: &[u8], info: &WlanRxInfo) -> Result<(), Error>;
    fn report_tx_result(&self, txr: &WlanTxResult) -> Result<(), Error>;
    fn scan_complete(&self, scan_id: u64, status: i32) -> Result<(), Error>;
}

Required Associated Types§

Source

type ShutdownResponseFut: Future<Output = Result<(), Error>> + Send

Required Methods§

Source

fn shutdown(&self) -> Self::ShutdownResponseFut

Source

fn rx(&self, data: &[u8], info: &WlanRxInfo) -> Result<(), Error>

Source

fn report_tx_result(&self, txr: &WlanTxResult) -> Result<(), Error>

Source

fn scan_complete(&self, scan_id: u64, status: i32) -> Result<(), Error>

Implementors§