Struct air_test_utils::prelude::SubTraceDesc
source · pub struct SubTraceDesc {
pub begin_pos: TracePos,
pub subtrace_len: u32,
}
Expand description
Descriptor of a subtrace inside execution trace.
Fields§
§begin_pos: TracePos
Start position in a trace of this subtrace.
subtrace_len: u32
Length of the subtrace.
Implementations§
source§impl SubTraceDesc
impl SubTraceDesc
pub fn new(begin_pos: TracePos, subtrace_len: usize) -> SubTraceDesc
Trait Implementations§
source§impl Clone for SubTraceDesc
impl Clone for SubTraceDesc
source§fn clone(&self) -> SubTraceDesc
fn clone(&self) -> SubTraceDesc
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 SubTraceDesc
impl Debug for SubTraceDesc
source§impl Default for SubTraceDesc
impl Default for SubTraceDesc
source§fn default() -> SubTraceDesc
fn default() -> SubTraceDesc
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SubTraceDesc
impl<'de> Deserialize<'de> for SubTraceDesc
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SubTraceDesc, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<SubTraceDesc, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<SubTraceDesc> for SubTraceDesc
impl PartialEq<SubTraceDesc> for SubTraceDesc
source§fn eq(&self, other: &SubTraceDesc) -> bool
fn eq(&self, other: &SubTraceDesc) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SubTraceDesc
impl Serialize for SubTraceDesc
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for SubTraceDesc
impl Eq for SubTraceDesc
impl StructuralEq for SubTraceDesc
impl StructuralPartialEq for SubTraceDesc
Auto Trait Implementations§
impl RefUnwindSafe for SubTraceDesc
impl Send for SubTraceDesc
impl Sync for SubTraceDesc
impl Unpin for SubTraceDesc
impl UnwindSafe for SubTraceDesc
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where T: AsFilelike,
Query the “status” flags for the
self
file descriptor.