#[non_exhaustive]pub enum NetworkNameSource {
CachedObservation,
WifiSsid,
NetworkListManager,
None,
}Expand description
Provenance of the network name included in a refresh result.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CachedObservation
The latest cached name, preserved without querying Windows for a name.
Used by NetStatusClient::refresh_reachability.
WifiSsid
An active Wi-Fi SSID.
NetworkListManager
A connected network reported by Windows Network List Manager.
None
The system queries completed without a connected network name.
Trait Implementations§
Source§impl Clone for NetworkNameSource
impl Clone for NetworkNameSource
impl Copy for NetworkNameSource
Source§impl Debug for NetworkNameSource
impl Debug for NetworkNameSource
impl Eq for NetworkNameSource
Source§impl PartialEq for NetworkNameSource
impl PartialEq for NetworkNameSource
impl StructuralPartialEq for NetworkNameSource
Auto Trait Implementations§
impl Freeze for NetworkNameSource
impl RefUnwindSafe for NetworkNameSource
impl Send for NetworkNameSource
impl Sync for NetworkNameSource
impl Unpin for NetworkNameSource
impl UnsafeUnpin for NetworkNameSource
impl UnwindSafe for NetworkNameSource
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