1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Provider health observations.
//!
//! [`HealthStatus`] reports successful probe latency. A successful probe does not
//! establish support or success for another model, file, batch, or session call.
//! Shared shutdown belongs to [`crate::ProviderBackend::shutdown`].
use Future;
use ;
use ;
use crateKitError;
/// Successful provider health-probe result.
///
/// # Examples
///
/// ```
/// let health = providers_kit::runtime::HealthStatus { latency: std::time::Duration::from_millis(12) };
/// assert_eq!(health.latency.as_millis(), 12);
/// ```
///