#[non_exhaustive]pub enum WindowsReachabilityOperation {
ComInit,
NlmCreate,
NlmGetConnectivity,
}Expand description
The native call that failed while sampling Windows Internet reachability.
Available on all platforms without a Windows SDK dependency. Use
Self::as_str for stable identifiers in structured application events.
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.
ComInit
CoInitializeEx failed to initialize the sampling thread’s COM apartment.
NlmCreate
CoCreateInstance failed to create the Network List Manager interface.
NlmGetConnectivity
INetworkListManager::GetConnectivity failed to return a connectivity value.
Implementations§
Trait Implementations§
Source§impl Clone for WindowsReachabilityOperation
impl Clone for WindowsReachabilityOperation
impl Copy for WindowsReachabilityOperation
Source§impl Debug for WindowsReachabilityOperation
impl Debug for WindowsReachabilityOperation
impl Eq for WindowsReachabilityOperation
impl StructuralPartialEq for WindowsReachabilityOperation
Auto Trait Implementations§
impl Forget for WindowsReachabilityOperation
impl Freeze for WindowsReachabilityOperation
impl Move for WindowsReachabilityOperation
impl RefUnwindSafe for WindowsReachabilityOperation
impl Send for WindowsReachabilityOperation
impl Sync for WindowsReachabilityOperation
impl Unpin for WindowsReachabilityOperation
impl UnsafeUnpin for WindowsReachabilityOperation
impl UnwindSafe for WindowsReachabilityOperation
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