pub struct Ap<D> { /* private fields */ }
Implementations§
Source§impl<D: DeviceOps> Ap<D>
impl<D: DeviceOps> Ap<D>
pub async fn handle_timed_event(&mut self, event_id: EventId, event: TimedEvent)
Sourcepub async fn handle_mlme_setkeys_req(
&mut self,
req: SetKeysRequest,
) -> Result<(), Error>
pub async fn handle_mlme_setkeys_req( &mut self, req: SetKeysRequest, ) -> Result<(), Error>
Handles MLME-SETKEYS.request (IEEE Std 802.11-2016, 6.3.19.1) from the SME.
The MLME should set the keys on the PHY.
pub async fn handle_mlme_query_device_info( &mut self, responder: Responder<DeviceInfo>, ) -> Result<(), Error>
pub async fn handle_mlme_query_discovery_support( &mut self, responder: Responder<DiscoverySupport>, ) -> Result<(), Error>
pub async fn handle_mlme_query_mac_sublayer_support( &mut self, responder: Responder<MacSublayerSupport>, ) -> Result<(), Error>
pub async fn handle_mlme_query_security_support( &mut self, responder: Responder<SecuritySupport>, ) -> Result<(), Error>
pub async fn handle_mlme_query_spectrum_management_support( &mut self, responder: Responder<SpectrumManagementSupport>, ) -> Result<(), Error>
pub async fn handle_mlme_req(&mut self, req: MlmeRequest) -> Result<(), Error>
pub fn handle_eth_frame_tx(&mut self, frame: &[u8], async_id: Id)
pub async fn handle_mac_frame_rx<B: SplitByteSlice>( &mut self, bytes: B, rx_info: WlanRxInfo, async_id: Id, )
Trait Implementations§
Source§impl<D: DeviceOps> MlmeImpl for Ap<D>
impl<D: DeviceOps> MlmeImpl for Ap<D>
type Config = Bssid
type Device = D
type TimerEvent = TimedEvent
async fn new(
config: Self::Config,
device: D,
timer: Timer<TimedEvent>,
) -> Result<Self, Error>where
Self: Sized,
async fn handle_mlme_request(&mut self, req: MlmeRequest) -> Result<(), Error>
async fn handle_mac_frame_rx( &mut self, frame: &[u8], rx_info: WlanRxInfo, async_id: Id, )
fn handle_eth_frame_tx( &mut self, bytes: &[u8], async_id: Id, ) -> Result<(), Error>
async fn handle_scan_complete(&mut self, _status: Status, _scan_id: u64)
async fn handle_timeout(&mut self, event_id: EventId, event: TimedEvent)
fn access_device(&mut self) -> &mut Self::Device
Auto Trait Implementations§
impl<D> Freeze for Ap<D>where
D: Freeze,
impl<D> !RefUnwindSafe for Ap<D>
impl<D> Send for Ap<D>where
D: Send,
impl<D> Sync for Ap<D>where
D: Sync,
impl<D> Unpin for Ap<D>where
D: Unpin,
impl<D> !UnwindSafe for Ap<D>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more