pub struct SpanHardwareV2 {
pub version: u16,
pub cycles_begin: Evidence<u64>,
pub cycles_end: Evidence<u64>,
pub instructions_begin: Evidence<u64>,
pub instructions_end: Evidence<u64>,
}Expand description
Raw per-span cycle and instruction readings attached at span begin and end.
Fields§
§version: u16§cycles_begin: Evidence<u64>§cycles_end: Evidence<u64>§instructions_begin: Evidence<u64>§instructions_end: Evidence<u64>Implementations§
Trait Implementations§
Source§impl Clone for SpanHardwareV2
impl Clone for SpanHardwareV2
Source§fn clone(&self) -> SpanHardwareV2
fn clone(&self) -> SpanHardwareV2
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 SpanHardwareV2
impl Debug for SpanHardwareV2
Source§impl<'de> Deserialize<'de> for SpanHardwareV2
impl<'de> Deserialize<'de> for SpanHardwareV2
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 SpanHardwareV2
Source§impl PartialEq for SpanHardwareV2
impl PartialEq for SpanHardwareV2
Source§impl Serialize for SpanHardwareV2
impl Serialize for SpanHardwareV2
impl StructuralPartialEq for SpanHardwareV2
Auto Trait Implementations§
impl Freeze for SpanHardwareV2
impl RefUnwindSafe for SpanHardwareV2
impl Send for SpanHardwareV2
impl Sync for SpanHardwareV2
impl Unpin for SpanHardwareV2
impl UnsafeUnpin for SpanHardwareV2
impl UnwindSafe for SpanHardwareV2
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