pub enum Command<'a> {
Inject(EventSpec),
InjectTagged(&'a str, EventSpec),
Query(QuerySpec<'a>),
DumpPixels(DumpSpec),
Status,
RecordStart,
RecordStop,
RecordDump,
Extension(&'a [u8]),
}Expand description
A test automation command.
Variants§
Inject(EventSpec)
Inject an event into the widget tree root.
InjectTagged(&'a str, EventSpec)
Inject an event targeted at a tagged widget.
Query(QuerySpec<'a>)
Query widget state by tag.
DumpPixels(DumpSpec)
Dump framebuffer pixels in a region.
Status
Request runtime telemetry / status.
RecordStart
Start the event recorder (clears buffer).
RecordStop
Stop recording and dump all entries.
RecordDump
Dump recorded entries without stopping.
Extension(&'a [u8])
Application-defined extension command (raw payload after X).
Trait Implementations§
impl<'a> Eq for Command<'a>
Source§impl<'a> PartialEq for Command<'a>
impl<'a> PartialEq for Command<'a>
impl<'a> StructuralPartialEq for Command<'a>
Auto Trait Implementations§
impl<'a> Freeze for Command<'a>
impl<'a> RefUnwindSafe for Command<'a>
impl<'a> Send for Command<'a>
impl<'a> Sync for Command<'a>
impl<'a> Unpin for Command<'a>
impl<'a> UnsafeUnpin for Command<'a>
impl<'a> UnwindSafe for Command<'a>
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