pub struct ConnectionSelectionRequester { /* private fields */ }
Implementations§
source§impl ConnectionSelectionRequester
impl ConnectionSelectionRequester
pub fn new(sender: Sender<ConnectionSelectionRequest>) -> Self
pub async fn do_connection_selection( &mut self, network_id: Option<NetworkIdentifier>, reason: ConnectReason ) -> Result<Option<ScannedCandidate>, Error>
pub async fn do_roam_selection( &mut self, network_id: NetworkIdentifier, credential: Credential ) -> Result<Option<ScannedCandidate>, Error>
Trait Implementations§
source§impl Clone for ConnectionSelectionRequester
impl Clone for ConnectionSelectionRequester
source§fn clone(&self) -> ConnectionSelectionRequester
fn clone(&self) -> ConnectionSelectionRequester
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 moreAuto Trait Implementations§
impl Freeze for ConnectionSelectionRequester
impl !RefUnwindSafe for ConnectionSelectionRequester
impl Send for ConnectionSelectionRequester
impl Sync for ConnectionSelectionRequester
impl Unpin for ConnectionSelectionRequester
impl !UnwindSafe for ConnectionSelectionRequester
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