session_framework_metrics_registry/
session_framework_metrics_registry.rs1pub mod cobalt_registry {
4pub const CUSTOMER_NAME: &str = "fuchsia";
5pub const CUSTOMER_ID: u32 = 1;
6pub const PROJECT_NAME: &str = "session_framework";
7pub const PROJECT_ID: u32 = 2550112954;
8
9pub const SESSION_LAUNCH_TIME_MIGRATED_METRIC_ID: u32 = 101;
12pub const ELEMENT_LAUNCH_TIME_MIGRATED_METRIC_ID: u32 = 102;
14
15#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
17pub enum SessionFrameworkMetricDimensionStatus {
18 Success = 0,
19 Failure = 1,
20}
21
22impl cobalt_client::traits::AsEventCode for SessionFrameworkMetricDimensionStatus {
23 fn as_event_code(&self) -> u32 {
24 *self as u32
25 }
26}
27pub use SessionFrameworkMetricDimensionStatus as SessionLaunchTimeMigratedMetricDimensionStatus;
29
30pub use SessionFrameworkMetricDimensionStatus as ElementLaunchTimeMigratedMetricDimensionStatus;
32
33}