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§
source§impl Clone for NoExtraKeys
impl Clone for NoExtraKeys
source§fn clone(&self) -> NoExtraKeys
fn clone(&self) -> NoExtraKeys
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NoExtraKeys
impl Debug for NoExtraKeys
source§impl ExtraKeys for NoExtraKeys
impl ExtraKeys for NoExtraKeys
source§impl Hash for NoExtraKeys
impl Hash for NoExtraKeys
source§impl PartialEq for NoExtraKeys
impl PartialEq for NoExtraKeys
source§fn eq(&self, other: &NoExtraKeys) -> bool
fn eq(&self, other: &NoExtraKeys) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl 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.
source§fn 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.
source§impl 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.
source§fn 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 StructuralPartialEq for NoExtraKeys
Auto Trait Implementations§
impl Freeze for NoExtraKeys
impl RefUnwindSafe for NoExtraKeys
impl Send for NoExtraKeys
impl Sync for NoExtraKeys
impl Unpin for NoExtraKeys
impl UnwindSafe for NoExtraKeys
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
source§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>