Struct wlancfg_lib::client::types::ConnectSelection
source · pub struct ConnectSelection {
pub target: ScannedCandidate,
pub reason: ConnectReason,
}
Expand description
Selected network candidate for a connection.
This type is a promotion of a scanned candidate and provides the necessary data required to establish a connection.
Fields§
§target: ScannedCandidate
§reason: ConnectReason
Trait Implementations§
source§impl Clone for ConnectSelection
impl Clone for ConnectSelection
source§fn clone(&self) -> ConnectSelection
fn clone(&self) -> ConnectSelection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<ConnectSelection> for ConnectAttemptRequest
impl From<ConnectSelection> for ConnectAttemptRequest
source§fn from(selection: ConnectSelection) -> ConnectAttemptRequest
fn from(selection: ConnectSelection) -> ConnectAttemptRequest
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConnectSelection
impl RefUnwindSafe for ConnectSelection
impl Send for ConnectSelection
impl Sync for ConnectSelection
impl Unpin for ConnectSelection
impl UnwindSafe for ConnectSelection
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