Enum glean::traits::NoExtraKeys
source · [−]pub enum NoExtraKeys {}
Expand description
Default of no extra keys for events.
An enum with no values for convenient use as the default set of extra keys
that an EventMetric
can accept.
Note: There exist no values for this enum, it can never exist.
It its equivalent to the never / !
type.
Trait Implementations
List of allowed extra keys as strings.
Convert the event extras into 2 lists: Read more
type Error = EventRecordingError
type Error = EventRecordingError
The type returned in the event of a conversion error.
pub fn try_from(
_value: &str
) -> Result<NoExtraKeys, <NoExtraKeys as TryFrom<&'_ str>>::Error>
pub fn try_from(
_value: &str
) -> Result<NoExtraKeys, <NoExtraKeys as TryFrom<&'_ str>>::Error>
Performs the conversion.
type Error = EventRecordingError
type Error = EventRecordingError
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for NoExtraKeys
impl Send for NoExtraKeys
impl Sync for NoExtraKeys
impl Unpin for NoExtraKeys
impl UnwindSafe for NoExtraKeys
Blanket Implementations
Mutably borrows from an owned value. Read more