#[non_exhaustive]pub enum NetworkMonitorPhase {
Show 17 variants
MonitorTaskSubmit,
MonitorThreadSpawn,
RuntimeBuild,
NetwatchCreate,
SamplerWorkerSpawn,
SampleAdmission,
SampleQueueSubmit,
SampleQueueWait,
NativeSample,
ComInit,
NlmCreate,
NlmGetConnectivity,
SampleComplete,
SampleResultReceive,
InitialResultReceive,
ObservationCommit,
MonitorTaskExit,
}Expand description
The monitor operation associated with a failure or last observed progress.
These values describe SDK steps. For a timed-out operation, the native call may still be running; a phase does not imply that it returned a failure.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
MonitorTaskSubmit
Submit the monitor task to the owning runtime.
MonitorThreadSpawn
Create the dedicated monitor thread.
RuntimeBuild
Build the monitor generation’s asynchronous runtime.
NetwatchCreate
Create the netwatch detector.
SamplerWorkerSpawn
Create the dedicated reachability-sampling worker.
SampleAdmission
Acquire capacity to submit a sample.
SampleQueueSubmit
Submit a sample to the worker’s bounded queue.
SampleQueueWait
Wait for the worker to begin an accepted sample.
NativeSample
Execute a native sampling provider.
ComInit
Initialize the sampling thread’s COM apartment.
NlmCreate
Create the Network List Manager interface.
NlmGetConnectivity
Read connectivity from Network List Manager.
SampleComplete
Validate a completed sample before returning it.
SampleResultReceive
Receive a worker’s sampling result.
InitialResultReceive
Receive the monitor’s initial result.
ObservationCommit
Validate and publish a collected observation.
MonitorTaskExit
Exit or retire the monitor task before initialization completed.