pub enum ThreadInstructionCount {
ThreadInstructionCountDelta(i64),
ThreadInstructionCountAbsolute(i64),
}
Expand description
Deprecated. Use |extra_counter_values| and |extra_counter_track_uuids| to encode thread instruction count instead.
Value of the instruction counter for the current thread.
Variants§
ThreadInstructionCountDelta(i64)
Same encoding as |thread_time| field above.
ThreadInstructionCountAbsolute(i64)
Implementations§
Source§impl ThreadInstructionCount
impl ThreadInstructionCount
Sourcepub fn merge<B>(
field: &mut Option<ThreadInstructionCount>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<ThreadInstructionCount>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
Source§impl Clone for ThreadInstructionCount
impl Clone for ThreadInstructionCount
Source§fn clone(&self) -> ThreadInstructionCount
fn clone(&self) -> ThreadInstructionCount
Returns a copy 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 moreSource§impl Debug for ThreadInstructionCount
impl Debug for ThreadInstructionCount
Source§impl PartialEq for ThreadInstructionCount
impl PartialEq for ThreadInstructionCount
impl StructuralPartialEq for ThreadInstructionCount
Auto Trait Implementations§
impl Freeze for ThreadInstructionCount
impl RefUnwindSafe for ThreadInstructionCount
impl Send for ThreadInstructionCount
impl Sync for ThreadInstructionCount
impl Unpin for ThreadInstructionCount
impl UnwindSafe for ThreadInstructionCount
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