pub enum DryRunCommand {
Arrived(DeviceFacts),
Left(DeviceFacts),
Stop(String),
}Expand description
What drives the reporter. The USB watch sends these; so do tests.
Variants§
Arrived(DeviceFacts)
A device was plugged in, or was already there when watching started.
Left(DeviceFacts)
A device went away.
Stop(String)
Print the summary and return from DryRun::run.
Trait Implementations§
Source§impl Clone for DryRunCommand
impl Clone for DryRunCommand
Auto Trait Implementations§
impl Freeze for DryRunCommand
impl RefUnwindSafe for DryRunCommand
impl Send for DryRunCommand
impl Sync for DryRunCommand
impl Unpin for DryRunCommand
impl UnsafeUnpin for DryRunCommand
impl UnwindSafe for DryRunCommand
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