#[non_exhaustive]pub struct AttachOutput {Show 18 fields
pub link: u32,
pub game: String,
pub frames: u32,
pub phase: String,
pub top_screen: String,
pub screens: Vec<String>,
pub suspended: bool,
pub focused: bool,
pub quit: bool,
pub frame: String,
pub screenshot: Option<AttachScreenshot>,
pub log: Vec<AttachLogEntry>,
pub log_next: u64,
pub perf: Vec<FrameRecord>,
pub perf_next: Option<u64>,
pub perf_summary: Option<PerfSummary>,
pub perf_snapshot: Option<HeapSnapshot>,
pub follow: Option<AttachFollow>,
}Expand description
What attach saw.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.link: u32The link’s version both ends speak.
game: StringThe game: its window’s title.
frames: u32The frames the build has run since it started.
phase: StringWhere the game is: loading (its card shows), running or
failed (its load failed; the errors show).
top_screen: StringThe top screen’s name; empty with none open.
screens: Vec<String>The open screens, bottom first.
suspended: boolWhether the system has suspended the build.
focused: boolWhether its window has the player’s attention.
quit: boolWhether the game has quit.
frame: StringThe frame, in the snapshot text format; empty while the game isn’t running.
screenshot: Option<AttachScreenshot>The window’s picture, if asked for.
log: Vec<AttachLogEntry>The build’s log lines numbered log_since or more, oldest first.
log_next: u64The number the build’s next log line gets: the next log_since.
perf: Vec<FrameRecord>The frames’ records numbered perf_since or more, oldest first, at
most 600; empty without perf_since, and with perf_follow (they
are in its file).
perf_next: Option<u64>The number to read the records from next time: the next
perf_since. Null without perf_since or perf_follow.
perf_summary: Option<PerfSummary>What the records add up to: those answered, or with perf_follow
every one written. Null with none.
perf_snapshot: Option<HeapSnapshot>The heap snapshot taken with the records, with perf_snapshot
(with perf_follow, the one as it ended): null where the build
doesn’t count the heap by tag.
follow: Option<AttachFollow>What perf_follow wrote.
Trait Implementations§
Source§impl Clone for AttachOutput
impl Clone for AttachOutput
Source§fn clone(&self) -> AttachOutput
fn clone(&self) -> AttachOutput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AttachOutput
impl Debug for AttachOutput
Source§impl<'de> Deserialize<'de> for AttachOutput
impl<'de> Deserialize<'de> for AttachOutput
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>,
impl Eq for AttachOutput
Source§impl JsonSchema for AttachOutput
impl JsonSchema for AttachOutput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for AttachOutput
impl PartialEq for AttachOutput
Source§impl Serialize for AttachOutput
impl Serialize for AttachOutput
impl StructuralPartialEq for AttachOutput
Auto Trait Implementations§
impl Freeze for AttachOutput
impl RefUnwindSafe for AttachOutput
impl Send for AttachOutput
impl Sync for AttachOutput
impl Unpin for AttachOutput
impl UnsafeUnpin for AttachOutput
impl UnwindSafe for AttachOutput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.