pub struct FakeDeviceState {Show 21 fields
pub config: FakeDeviceConfig,
pub minstrel: Option<Arc<Mutex<MinstrelRateSelector<MinstrelTimer>>>>,
pub eth_queue: Vec<Vec<u8>>,
pub wlan_queue: Vec<(Vec<u8>, usize)>,
pub wlan_softmac_ifc_bridge_proxy: Option<WlanSoftmacIfcBridgeProxy>,
pub mlme_event_stream: Option<UnboundedReceiver<MlmeEvent>>,
pub mlme_request_sink: UnboundedSender<MlmeRequest>,
pub mlme_request_stream: Option<UnboundedReceiver<MlmeRequest>>,
pub usme_bootstrap_client_end: Option<ClientEnd<UsmeBootstrapMarker>>,
pub usme_bootstrap_server_end: Option<ServerEnd<UsmeBootstrapMarker>>,
pub wlan_channel: WlanChannel,
pub keys: Vec<WlanKeyConfiguration>,
pub next_scan_id: u64,
pub captured_passive_scan_request: Option<WlanSoftmacBaseStartPassiveScanRequest>,
pub captured_active_scan_request: Option<WlanSoftmacStartActiveScanRequest>,
pub join_bss_request: Option<JoinBssRequest>,
pub beacon_config: Option<(Vec<u8>, usize, TimeUnit)>,
pub link_status: LinkStatus,
pub assocs: HashMap<MacAddr, WlanAssociationConfig>,
pub install_key_results: VecDeque<Result<(), Status>>,
pub captured_update_wmm_parameters_request: Option<WlanSoftmacBaseUpdateWmmParametersRequest>,
}
Fields§
§config: FakeDeviceConfig
§minstrel: Option<Arc<Mutex<MinstrelRateSelector<MinstrelTimer>>>>
§eth_queue: Vec<Vec<u8>>
§wlan_queue: Vec<(Vec<u8>, usize)>
§wlan_softmac_ifc_bridge_proxy: Option<WlanSoftmacIfcBridgeProxy>
§mlme_event_stream: Option<UnboundedReceiver<MlmeEvent>>
§mlme_request_sink: UnboundedSender<MlmeRequest>
§mlme_request_stream: Option<UnboundedReceiver<MlmeRequest>>
§usme_bootstrap_client_end: Option<ClientEnd<UsmeBootstrapMarker>>
§usme_bootstrap_server_end: Option<ServerEnd<UsmeBootstrapMarker>>
§wlan_channel: WlanChannel
§keys: Vec<WlanKeyConfiguration>
§next_scan_id: u64
§captured_passive_scan_request: Option<WlanSoftmacBaseStartPassiveScanRequest>
§captured_active_scan_request: Option<WlanSoftmacStartActiveScanRequest>
§join_bss_request: Option<JoinBssRequest>
§beacon_config: Option<(Vec<u8>, usize, TimeUnit)>
§link_status: LinkStatus
§assocs: HashMap<MacAddr, WlanAssociationConfig>
§install_key_results: VecDeque<Result<(), Status>>
§captured_update_wmm_parameters_request: Option<WlanSoftmacBaseUpdateWmmParametersRequest>
Implementations§
Source§impl FakeDeviceState
impl FakeDeviceState
pub fn next_mlme_msg<T: FromMlmeEvent>(&mut self) -> Result<T, Error>
pub fn reset(&mut self)
Auto Trait Implementations§
impl Freeze for FakeDeviceState
impl !RefUnwindSafe for FakeDeviceState
impl Send for FakeDeviceState
impl Sync for FakeDeviceState
impl Unpin for FakeDeviceState
impl !UnwindSafe for FakeDeviceState
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