#[non_exhaustive]pub enum TraceSignal {
StartSpan(String),
EndSpan(String, Option<String>),
}Expand description
Represents a trace signal with a Ferron module name and attributes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
StartSpan(String)
Start a new span with the given module name.
EndSpan(String, Option<String>)
End the span with the given module name and optional error description.
Trait Implementations§
Source§impl Clone for TraceSignal
impl Clone for TraceSignal
Source§fn clone(&self) -> TraceSignal
fn clone(&self) -> TraceSignal
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for TraceSignal
impl RefUnwindSafe for TraceSignal
impl Send for TraceSignal
impl Sync for TraceSignal
impl Unpin for TraceSignal
impl UnwindSafe for TraceSignal
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