Skip to main content

Module device

Module device 

Source
Expand description

DeviceBackend trait: enumerate physical devices, resolve driver names, poll live status.

Structs§

DiscoveredDevice
One physical device surfaced by DeviceBackend::list.
PollStatus
Live status reported by DeviceBackend::poll_status. Returning None from the poll means “no update”; returning Some(PollStatus) replaces the reasons and, when the optional fields are set, the dynamic media/supply attributes.
ReadyMedia
The media currently loaded in a device, as reported by a live poll. Drives the dynamic media-ready / media-col-ready IPP attributes.

Traits§

DeviceBackend
Enumerate physical printers and report their live health.