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 StructuralEq for TimerId
impl StructuralPartialEq for TimerId
Auto Trait Implementations§
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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more