#[non_exhaustive]pub struct WrapperSpan {
pub name: String,
pub start_ns: u64,
pub duration_ns: u64,
}Expand description
A trace interval inside one wrapper process.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringPhase name.
start_ns: u64Monotonic offset from wrapper entry.
duration_ns: u64Inclusive elapsed time.
Trait Implementations§
Source§impl Clone for WrapperSpan
impl Clone for WrapperSpan
Source§fn clone(&self) -> WrapperSpan
fn clone(&self) -> WrapperSpan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WrapperSpan
impl Debug for WrapperSpan
Source§impl Default for WrapperSpan
impl Default for WrapperSpan
Source§fn default() -> WrapperSpan
fn default() -> WrapperSpan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WrapperSpan
impl<'de> Deserialize<'de> for WrapperSpan
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WrapperSpan
Source§impl PartialEq for WrapperSpan
impl PartialEq for WrapperSpan
Source§impl Serialize for WrapperSpan
impl Serialize for WrapperSpan
impl StructuralPartialEq for WrapperSpan
Auto Trait Implementations§
impl Freeze for WrapperSpan
impl RefUnwindSafe for WrapperSpan
impl Send for WrapperSpan
impl Sync for WrapperSpan
impl Unpin for WrapperSpan
impl UnsafeUnpin for WrapperSpan
impl UnwindSafe for WrapperSpan
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