Debian Codegraph @

third_party/rust/glean/src/private/mod.rs

raw
1 // This Source Code Form is subject to the terms of the Mozilla Public
2 // License, v. 2.0. If a copy of the MPL was not distributed with this
3 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
4
5 //! The different metric types supported by the Glean SDK to handle data.
6
7 mod event;
8 mod object;
9 mod ping;
10
11 pub use event::EventMetric;
12 pub use glean_core::BooleanMetric;
13 pub use glean_core::CounterMetric;
14 pub use glean_core::DenominatorMetric;
15 pub use glean_core::NumeratorMetric;
16 pub use glean_core::QuantityMetric;
17 pub use glean_core::RateMetric;
18 pub use glean_core::RecordedExperiment;
19 pub use glean_core::StringListMetric;
20 pub use glean_core::StringMetric;
21 pub use glean_core::TextMetric;
22 pub use glean_core::TimespanMetric;
23 pub use glean_core::UrlMetric;
24 pub use glean_core::UuidMetric;
25 pub use glean_core::{AllowLabeled, LabeledMetric};
26 pub use glean_core::{CustomDistributionMetric, LocalCustomDistribution};
27 pub use glean_core::{Datetime, DatetimeMetric};
28 pub use glean_core::{LocalMemoryDistribution, MemoryDistributionMetric};
29 pub use glean_core::{LocalTimingDistribution, TimingDistributionMetric};
30 pub use object::ObjectMetric;
31 pub use ping::PingType;
32
33 // Re-export types that are used by the glean_parser-generated code.
34 #[doc(hidden)]
35 pub mod __export {
36 pub use once_cell::sync::Lazy;
37 }