Struct wlancfg_lib::util::listener::ClientNetworkState
source · pub struct ClientNetworkState {
pub id: NetworkIdentifier,
pub state: ConnectionState,
pub status: Option<DisconnectStatus>,
}
Fields§
§id: NetworkIdentifier
§state: ConnectionState
§status: Option<DisconnectStatus>
Trait Implementations§
source§impl Clone for ClientNetworkState
impl Clone for ClientNetworkState
source§fn clone(&self) -> ClientNetworkState
fn clone(&self) -> ClientNetworkState
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<ClientNetworkState> for NetworkState
impl From<ClientNetworkState> for NetworkState
source§fn from(client_network_state: ClientNetworkState) -> Self
fn from(client_network_state: ClientNetworkState) -> Self
Converts to this type from the input type.
source§impl PartialEq for ClientNetworkState
impl PartialEq for ClientNetworkState
source§fn eq(&self, other: &ClientNetworkState) -> bool
fn eq(&self, other: &ClientNetworkState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClientNetworkState
Auto Trait Implementations§
impl Freeze for ClientNetworkState
impl RefUnwindSafe for ClientNetworkState
impl Send for ClientNetworkState
impl Sync for ClientNetworkState
impl Unpin for ClientNetworkState
impl UnwindSafe for ClientNetworkState
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