pub mod cobalt_registry {
pub const CUSTOMER_NAME: &str = "fuchsia";
pub const CUSTOMER_ID: u32 = 1;
pub const PROJECT_NAME: &str = "recovery";
pub const PROJECT_ID: u32 = 17;
pub const OTA_DOWNLOAD_DURATION_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const OTA_DOWNLOAD_DURATION_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 100;
pub const OTA_DOWNLOAD_DURATION_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 15;
pub const OTA_DOWNLOAD_DURATION_METRIC_ID: u32 = 1;
pub const OTA_DOWNLOAD_STATUS_METRIC_ID: u32 = 2;
pub const RECOVERY_EVENT_METRIC_ID: u32 = 3;
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum OtaDownloadStatusMetricDimensionResult {
Unknown = 0,
Success = 1,
Failure = 2,
}
impl cobalt_client::traits::AsEventCode for OtaDownloadStatusMetricDimensionResult {
fn as_event_code(&self) -> u32 {
*self as u32
}
}
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum RecoveryEventMetricDimensionResult {
Unknown = 0,
WiFiConnected = 1,
OtaStarted = 2,
OtaSuccess = 3,
OtaFailed = 4,
StoragedReprovisioned = 5,
}
impl cobalt_client::traits::AsEventCode for RecoveryEventMetricDimensionResult {
fn as_event_code(&self) -> u32 {
*self as u32
}
}
}