pub struct SnapshotParams {
pub max_depth: Option<u32>,
pub max_nodes: Option<u32>,
pub idle_ms: Option<u32>,
pub evict_event_less: Option<bool>,
pub evict: Option<Vec<u32>>,
}Expand description
Parameters of snapshot. Absent fields take the agent’s defaults.
Fields§
§max_depth: Option<u32>Deepest node level to read below each window root.
max_nodes: Option<u32>Most nodes to read across all windows.
idle_ms: Option<u32>Longest wait for the UI to go idle before reading; 0 skips the wait.
evict_event_less: Option<bool>Evict the platform’s node cache of the windows that send no change events before reading: input the agent did not inject, such as the emulator controller’s, left them stale. The tree stream and every other window’s cache are left alone, unlike a resync. An agent that does not know the key skips it and reads with its cache.
evict: Option<Vec<u32>>Windows whose nodes the agent evicts from the platform’s node cache before reading, by window id: bounds probes found their nodes moved without a change event, which leaves the cache holding the old bounds. An agent that does not know the key skips it and reads with its cache.