fidl_fuchsia_wlan_sme

Trait ClientSmeProxyInterface

Source
pub trait ClientSmeProxyInterface: Send + Sync {
    type ScanResponseFut: Future<Output = Result<ClientSmeScanResult, Error>> + Send;
    type DisconnectResponseFut: Future<Output = Result<(), Error>> + Send;
    type StatusResponseFut: Future<Output = Result<ClientStatusResponse, Error>> + Send;
    type WmmStatusResponseFut: Future<Output = Result<ClientSmeWmmStatusResult, Error>> + Send;
    type ScanForControllerResponseFut: Future<Output = Result<ClientSmeScanForControllerResult, Error>> + Send;

    // Required methods
    fn scan(&self, req: &ScanRequest) -> Self::ScanResponseFut;
    fn connect(
        &self,
        req: &ConnectRequest,
        txn: Option<ServerEnd<ConnectTransactionMarker>>,
    ) -> Result<(), Error>;
    fn roam(&self, req: &RoamRequest) -> Result<(), Error>;
    fn disconnect(
        &self,
        reason: UserDisconnectReason,
    ) -> Self::DisconnectResponseFut;
    fn status(&self) -> Self::StatusResponseFut;
    fn wmm_status(&self) -> Self::WmmStatusResponseFut;
    fn scan_for_controller(
        &self,
        req: &ScanRequest,
    ) -> Self::ScanForControllerResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn scan(&self, req: &ScanRequest) -> Self::ScanResponseFut

Source

fn connect( &self, req: &ConnectRequest, txn: Option<ServerEnd<ConnectTransactionMarker>>, ) -> Result<(), Error>

Source

fn roam(&self, req: &RoamRequest) -> Result<(), Error>

Source

fn disconnect( &self, reason: UserDisconnectReason, ) -> Self::DisconnectResponseFut

Source

fn status(&self) -> Self::StatusResponseFut

Source

fn wmm_status(&self) -> Self::WmmStatusResponseFut

Source

fn scan_for_controller( &self, req: &ScanRequest, ) -> Self::ScanForControllerResponseFut

Implementors§