pub enum Phase {
In,
Out,
End,
Event,
}Expand description
Phase of an instrumented operation — lets a consumer correlate the inputs a call accepted with the data it produced.
Variants§
In
Inputs accepted — the parameters that drive the operation.
Out
Output produced — the result data the operation returns.
End
A unit of work finished (use when there’s no separate in/out split).
Event
A point-in-time fact with no duration.
Trait Implementations§
impl Copy for Phase
impl Eq for Phase
impl StructuralPartialEq for Phase
Auto Trait Implementations§
impl Freeze for Phase
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnsafeUnpin for Phase
impl UnwindSafe for Phase
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