pub struct ServiceMark(/* private fields */);Expand description
A one-shot latch for “this operation’s work has actually started”.
Its own type so the “was the sojourn ever measured?” question has one answer-holder rather than a bool copied into two structs.
Implementations§
Trait Implementations§
Source§impl Debug for ServiceMark
impl Debug for ServiceMark
Auto Trait Implementations§
impl !Freeze for ServiceMark
impl RefUnwindSafe for ServiceMark
impl Send for ServiceMark
impl Sync for ServiceMark
impl Unpin for ServiceMark
impl UnsafeUnpin for ServiceMark
impl UnwindSafe for ServiceMark
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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