Struct glean_core::metrics::TimerId
source · pub struct TimerId {
pub id: u64,
}
Expand description
Identifier for a running timer.
Its internals are considered private, but due to UniFFI’s behavior we expose its field for now.
Fields§
§id: u64
This timer’s id.
Trait Implementations§
source§impl PartialEq for TimerId
impl PartialEq for TimerId
impl Copy for TimerId
impl Eq for TimerId
impl StructuralPartialEq for TimerId
Auto Trait Implementations§
impl Freeze for TimerId
impl RefUnwindSafe for TimerId
impl Send for TimerId
impl Sync for TimerId
impl Unpin for TimerId
impl UnwindSafe for TimerId
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<>