emergency_metrics_registry/
emergency_metrics_registry.rspub const CUSTOMER_NAME: &str = "fuchsia";
pub const CUSTOMER_ID: u32 = 1;
pub const PROJECT_NAME: &str = "connectivity_location";
pub const PROJECT_ID: u32 = 4;
pub const EMERGENCY_GET_CURRENT_LATENCY_MIGRATED_EMERGENCY_GET_CURRENT_LATENCY_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const EMERGENCY_GET_CURRENT_LATENCY_MIGRATED_EMERGENCY_GET_CURRENT_LATENCY_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const EMERGENCY_GET_CURRENT_LATENCY_MIGRATED_EMERGENCY_GET_CURRENT_LATENCY_HISTOGRAM_INT_BUCKETS_INITIAL_STEP: u32 = 10;
pub const EMERGENCY_GET_CURRENT_LATENCY_MIGRATED_EMERGENCY_GET_CURRENT_LATENCY_HISTOGRAM_INT_BUCKETS_STEP_MULTIPLIER: u32 = 2;
pub const EMERGENCY_GET_CURRENT_ACCURACY_MIGRATED_EMERGENCY_GET_CURRENT_ACCURACY_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const EMERGENCY_GET_CURRENT_ACCURACY_MIGRATED_EMERGENCY_GET_CURRENT_ACCURACY_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 30;
pub const EMERGENCY_GET_CURRENT_ACCURACY_MIGRATED_EMERGENCY_GET_CURRENT_ACCURACY_HISTOGRAM_INT_BUCKETS_INITIAL_STEP: u32 = 1;
pub const EMERGENCY_GET_CURRENT_ACCURACY_MIGRATED_EMERGENCY_GET_CURRENT_ACCURACY_HISTOGRAM_INT_BUCKETS_STEP_MULTIPLIER: u32 = 2;
pub const EMERGENCY_GET_CURRENT_RESULT_MIGRATED_METRIC_ID: u32 = 101;
pub const EMERGENCY_GET_CURRENT_LATENCY_MIGRATED_METRIC_ID: u32 = 102;
pub const EMERGENCY_GET_CURRENT_ACCURACY_MIGRATED_METRIC_ID: u32 = 103;
pub const EMERGENCY_GET_CURRENT_FAILURE_MIGRATED_METRIC_ID: u32 = 104;
pub const WLAN_SENSOR_REPORT_MIGRATED_METRIC_ID: u32 = 105;
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum EmergencyGetCurrentResultMigratedMetricDimensionResult {
Success = 0,
Failure = 1,
}
impl cobalt_client::traits::AsEventCode for EmergencyGetCurrentResultMigratedMetricDimensionResult {
fn as_event_code(&self) -> u32 {
*self as u32
}
}
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityLocationMetricDimensionCause {
NoBsses = 0,
Internal = 1,
Lookup = 2,
}
impl cobalt_client::traits::AsEventCode for ConnectivityLocationMetricDimensionCause {
fn as_event_code(&self) -> u32 {
*self as u32
}
}
pub use ConnectivityLocationMetricDimensionCause as EmergencyGetCurrentFailureMigratedMetricDimensionCause;
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum WlanSensorReportMigratedMetricDimensionResult {
Success = 0,
NoBssIds = 1,
NoBsses = 2,
IpcError = 3,
ServiceError = 4,
}
impl cobalt_client::traits::AsEventCode for WlanSensorReportMigratedMetricDimensionResult {
fn as_event_code(&self) -> u32 {
*self as u32
}
}