pub struct TraceEntry {
pub path: String,
pub nonloopable: bool,
pub replay_args: Vec<String>,
pub devices: HashMap<String, DeviceEntry>,
}Fields§
§path: String§nonloopable: boolWhen true, we shouldn’t use apitrace’s internal frame looping support due to instability (not all sequences of API calls can just be replayed). Instead, do the replay as many times as we are capturing frames.
replay_args: Vec<String>Extra arguments appended to the replay command for this trace, regardless of device. Concatenated with any per-device replay_args.
devices: HashMap<String, DeviceEntry>Implementations§
Source§impl TraceEntry
impl TraceEntry
pub fn device(&self, name: &str) -> Option<&DeviceEntry>
Trait Implementations§
Source§impl Debug for TraceEntry
impl Debug for TraceEntry
Source§impl<'de> Deserialize<'de> for TraceEntry
impl<'de> Deserialize<'de> for TraceEntry
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
Auto Trait Implementations§
impl Freeze for TraceEntry
impl RefUnwindSafe for TraceEntry
impl Send for TraceEntry
impl Sync for TraceEntry
impl Unpin for TraceEntry
impl UnsafeUnpin for TraceEntry
impl UnwindSafe for TraceEntry
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