pub struct Client {
pub connect_req: ParsedConnectRequest,
pub iface_mac: MacAddr,
pub client_capabilities: ClientCapabilities,
pub connect_timeout: Option<EventId>,
/* private fields */
}
Expand description
A STA running in Client mode. The Client STA is in its early development process and does not yet manage its internal state machine or track negotiated capabilities.
Fields§
§connect_req: ParsedConnectRequest
§iface_mac: MacAddr
§client_capabilities: ClientCapabilities
§connect_timeout: Option<EventId>
Implementations§
Source§impl Client
impl Client
pub fn new( connect_req: ParsedConnectRequest, iface_mac: MacAddr, client_capabilities: ClientCapabilities, ) -> Self
pub fn ssid(&self) -> &Ssid
pub fn bssid(&self) -> Bssid
pub fn beacon_period(&self) -> MonotonicDuration
pub fn eapol_required(&self) -> bool
pub fn bind<'a, D>( &'a mut self, ctx: &'a mut Context<D>, scanner: &'a mut Scanner, channel_state: &'a mut ChannelState, ) -> BoundClient<'a, D>
pub fn pre_switch_off_channel<D: DeviceOps>(&mut self, ctx: &mut Context<D>)
pub fn handle_back_on_channel<D: DeviceOps>(&mut self, ctx: &mut Context<D>)
Auto Trait Implementations§
impl Freeze for Client
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnwindSafe for Client
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