pub enum Event {
Show 14 variants
DfuTriggerStage {
stage: String,
},
DeviceDetected {
device: Device,
},
FirmwareResolved {
identifier: String,
version: String,
build: String,
size: u64,
url: String,
},
CacheHit {
path: String,
},
DownloadResumed {
received: u64,
},
DownloadProgress {
received: u64,
total: u64,
},
Verifying,
RestoreStep {
step: u32,
name: String,
progress: f32,
},
LogLine {
level: i32,
line: String,
},
RestoreRetrying {
attempt: u32,
max_attempts: u32,
message: String,
},
UsbmuxdStarting,
DriverSetupStarting,
DriverBound {
name: String,
},
Done,
}Expand description
Progress events emitted by long-running library operations.
The library never prints or prompts; frontends (CLI, GUI) render these.
Variants§
DfuTriggerStage
A stage of the VDM DFU trigger (host-side USB-PD dance).
DeviceDetected
A Mac in DFU mode was detected.
FirmwareResolved
Firmware metadata was resolved for the target.
CacheHit
The requested firmware is already in the cache.
DownloadResumed
A previous partial download is being resumed.
DownloadProgress
Verifying
Verifying the downloaded file’s checksum.
RestoreStep
A restore step reported by idevicerestore.
LogLine
One line of idevicerestore’s log, streamed live for a log window.
RestoreRetrying
A restore attempt failed on a transient transport error (e.g. a dropped USB write mid-transfer) and is being retried from the top.
UsbmuxdStarting
The embedded usbmuxd server is starting (Linux only).
DriverSetupStarting
Binding the WinUSB driver to Apple’s DFU/recovery devices (Windows only).
DriverBound
WinUSB was bound to a device class (Windows only).