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
sourceimpl Clone for NoExtraKeys
impl Clone for NoExtraKeys
sourcefn clone(&self) -> NoExtraKeys
fn clone(&self) -> NoExtraKeys
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NoExtraKeys
impl Debug for NoExtraKeys
sourceimpl ExtraKeys for NoExtraKeys
impl ExtraKeys for NoExtraKeys
sourceconst ALLOWED_KEYS: &'static [&'static str] = &[]
const ALLOWED_KEYS: &'static [&'static str] = &[]
List of allowed extra keys as strings.
sourcefn into_ffi_extra(self) -> HashMap<String, String, RandomState>
fn into_ffi_extra(self) -> HashMap<String, String, RandomState>
Convert the event extras into 2 lists: Read more
sourceimpl Hash for NoExtraKeys
impl Hash for NoExtraKeys
sourceimpl PartialEq<NoExtraKeys> for NoExtraKeys
impl PartialEq<NoExtraKeys> for NoExtraKeys
sourceimpl<'_> TryFrom<&'_ str> for NoExtraKeys
impl<'_> TryFrom<&'_ str> for NoExtraKeys
type Error = EventRecordingError
type Error = EventRecordingError
The type returned in the event of a conversion error.
sourcefn try_from(
_value: &str
) -> Result<NoExtraKeys, <NoExtraKeys as TryFrom<&'_ str>>::Error>
fn try_from(
_value: &str
) -> Result<NoExtraKeys, <NoExtraKeys as TryFrom<&'_ str>>::Error>
Performs the conversion.
sourceimpl TryFrom<i32> for NoExtraKeys
impl TryFrom<i32> for NoExtraKeys
type Error = EventRecordingError
type Error = EventRecordingError
The type returned in the event of a conversion error.
sourcefn try_from(
_value: i32
) -> Result<NoExtraKeys, <NoExtraKeys as TryFrom<i32>>::Error>
fn try_from(
_value: i32
) -> Result<NoExtraKeys, <NoExtraKeys as TryFrom<i32>>::Error>
Performs the conversion.
impl Copy for NoExtraKeys
impl Eq for NoExtraKeys
impl StructuralEq for NoExtraKeys
impl StructuralPartialEq for NoExtraKeys
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more