#[non_exhaustive]pub enum Event {
Show 74 variants
DeviceConfigChanged {
device: DeviceUid,
},
DeviceConfigComplete {
device: DeviceUid,
},
DeviceOnlineChanged {
device: DeviceUid,
online: bool,
},
DeviceTemperatureChanged {
device: DeviceUid,
temperatures: Vec<u8>,
},
FirmwareVersionChanged {
device: DeviceUid,
version: FirmwareVersion,
},
SystemStatusChanged {
device: DeviceUid,
status: u16,
message: String,
},
NetworkStatusChanged {
device: DeviceUid,
status: NetworkPortStatus,
},
V2ipStatsChanged {
device: DeviceUid,
stats: V2ipDeviceStats,
},
V2ipSourcesChanged {
device: DeviceUid,
sources: Vec<V2ipStreamSources>,
},
V2ipDetailsChanged {
device: DeviceUid,
details: DeviceV2ipDetails,
},
V2ipSinkChanged {
device: DeviceUid,
sink: DeviceV2ipSink,
},
MultiviewerStatusChanged {
device: DeviceUid,
status: MultiviewerStatus,
},
AudioEndpointsChanged {
device: DeviceUid,
endpoints: AudioEndpoints,
},
MeshMasterChanged {
device: DeviceUid,
master: DeviceUid,
},
TopologyChanged {
device: DeviceUid,
topology: Vec<TopologyEntry>,
},
AmpDolbySettingsChanged {
device: DeviceUid,
settings: AmpDolbySettings,
},
PduStateChanged {
device: DeviceUid,
state: PduState,
},
SetupStatusChanged {
device: DeviceUid,
completed: bool,
},
InstallerIdChanged {
device: DeviceUid,
installer_id: u16,
},
TilingChanged {
device: DeviceUid,
tiling: V2ipTilingConfig,
},
RcSettingsChanged {
device: DeviceUid,
settings: RcSettings,
},
V2ipLinkChanged {
device: DeviceUid,
target: DeviceUid,
},
MultiviewerCommand {
device: DeviceUid,
command: MultiviewerCommand,
},
AudioSelectInput {
device: DeviceUid,
change: AudioChangeSource,
},
AudioEndpointMute {
device: DeviceUid,
endpoint: u16,
muted: bool,
},
AudioEndpointTrigger {
device: DeviceUid,
endpoint: u16,
active: bool,
},
AudioEndpointVolume {
device: DeviceUid,
endpoint: u16,
volume: u32,
},
DiscoverRequest {
device: DeviceUid,
},
SetRouteRequested {
device: DeviceUid,
request: SetRouteRequest,
},
EdidRequested {
device: DeviceUid,
request: EdidRequest,
},
EdidReceived {
device: DeviceUid,
edid: EdidRecord,
},
BayNameChangeRequested {
device: DeviceUid,
change: BayNameChange,
},
EdidProfileChangeRequested {
device: DeviceUid,
change: EdidProfileChange,
},
RebootRequested {
device: DeviceUid,
request: RebootRequest,
},
FactoryResetRequested {
device: DeviceUid,
request: FactoryResetRequest,
},
MonitoringPulse {
device: DeviceUid,
},
UpgradeFpgaRequested {
device: DeviceUid,
},
DetectBaysRequested {
device: DeviceUid,
},
PowerSaveRequested {
device: DeviceUid,
request: V2ipPowerSaveRequest,
},
KeyTransmitRequested {
device: DeviceUid,
request: KeyTransmitRequest,
},
ActionTransmitRequested {
device: DeviceUid,
request: ActionTransmitRequest,
},
IrTransmitRequested {
device: DeviceUid,
request: IrTransmitRequest,
},
BlacklistChanged {
device: DeviceUid,
change: V2ipBlacklistChange,
},
VideoWallCommand {
device: DeviceUid,
command: VideoWallCommand,
},
BayRegistered {
bay: BayUid,
},
VideoSourceChanged {
bay: BayUid,
source: Option<BayUid>,
},
AudioSourceChanged {
bay: BayUid,
source: Option<BayUid>,
},
VolumeChanged {
bay: BayUid,
volume: VolumeMuteStatus,
},
PowerChanged {
bay: BayUid,
power: PowerStatus,
},
NameChanged {
bay: BayUid,
name: String,
},
SignalDetectedChanged {
bay: BayUid,
detected: bool,
},
FaultyChanged {
bay: BayUid,
faulty: bool,
},
HiddenChanged {
bay: BayUid,
hidden: bool,
},
PoePoweredChanged {
bay: BayUid,
powered: bool,
},
HdbtConnectedChanged {
bay: BayUid,
connected: bool,
},
SignalTypeChanged {
bay: BayUid,
signal_type: String,
},
HpdDetectedChanged {
bay: BayUid,
detected: bool,
},
CecDetectedChanged {
bay: BayUid,
detected: bool,
},
ArcChanged {
bay: BayUid,
arc: ArcStatus,
},
EdidProfileChanged {
bay: BayUid,
profile: EdidProfile,
},
RcTypeChanged {
bay: BayUid,
rc_type: RcType,
},
KeyPressed {
bay: BayUid,
key: RcKey,
},
ActionReceived {
bay: BayUid,
action: RcAction,
},
MirrorStatusChanged {
bay: BayUid,
mirror: BayMirrorStatus,
},
AmpZoneSettingsChanged {
bay: BayUid,
settings: AmpZoneSettings,
},
VolumeStep {
bay: BayUid,
up: bool,
},
AudioClipped {
bay: BayUid,
clip: AudioClip,
},
IrCaptured {
bay: BayUid,
capture: IrCapture,
},
FilteredDevicesChanged {
bay: BayUid,
filtered: Vec<DeviceUid>,
},
AudioEndpointChanged {
bay: BayUid,
endpoint: u8,
},
EncoderDisabledChanged {
bay: BayUid,
disabled: bool,
},
DecoderDisabledChanged {
bay: BayUid,
disabled: bool,
},
BayLinked {
bay: BayUid,
linked_serial: String,
bay_name: String,
features: LinkFeature,
},
BayUnlinked {
bay: BayUid,
linked_serial: String,
bay_name: String,
},
}Expand description
Something that changed, or a request that arrived.
Events are collected while the state lock is held and dispatched after it is released, so a handler may call back into the library.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
DeviceConfigChanged
The device’s configuration changed.
DeviceConfigComplete
The device has reported every part of its configuration.
DeviceOnlineChanged
The device started or stopped answering.
DeviceTemperatureChanged
The device reported new temperatures.
FirmwareVersionChanged
A firmware component reported its version.
SystemStatusChanged
The device reported a system status.
NetworkStatusChanged
A network port reported its link state.
V2ipStatsChanged
The device reported V2IP statistics.
V2ipSourcesChanged
The streams the device’s source bays advertise changed.
V2ipDetailsChanged
The device’s V2IP encoder configuration changed.
V2ipSinkChanged
The streams the device’s sink is subscribed to changed.
MultiviewerStatusChanged
A multiviewer reported its state.
AudioEndpointsChanged
The device reported its audio endpoint tree.
MeshMasterChanged
The device reported its mesh master.
TopologyChanged
The device reported its view of the mesh topology.
AmpDolbySettingsChanged
A ProAmp8 reported its Dolby settings.
PduStateChanged
A PDU reported its electrical state.
SetupStatusChanged
Installer setup was completed or cleared.
InstallerIdChanged
The installer id changed.
TilingChanged
The sink was told to show a window.
RcSettingsChanged
A source bay’s remote-control configuration changed.
V2ipLinkChanged
A V2IP device was linked to a remote peer.
MultiviewerCommand
A multiviewer command arrived.
AudioSelectInput
An audio endpoint was switched to a new source.
AudioEndpointMute
An audio endpoint was muted or unmuted.
AudioEndpointTrigger
An audio endpoint’s trigger changed.
AudioEndpointVolume
An audio endpoint’s volume changed.
DiscoverRequest
A peer asked every device to announce itself.
SetRouteRequested
A peer asked a device to switch a sink.
EdidRequested
A peer asked a device for its EDID.
EdidReceived
A device answered with its EDID.
BayNameChangeRequested
A peer asked a device to rename a bay.
EdidProfileChangeRequested
A peer asked a device to switch its EDID profile.
RebootRequested
A peer asked a device to reboot.
FactoryResetRequested
A peer asked devices to factory-reset.
MonitoringPulse
A device sent its monitoring pulse.
UpgradeFpgaRequested
A peer asked a device to upgrade its FPGA.
DetectBaysRequested
A peer asked a device to re-detect its bays.
PowerSaveRequested
A peer asked a sink to enter or leave power save.
KeyTransmitRequested
A peer asked a device to send a remote-control key.
ActionTransmitRequested
A peer asked a device to perform a remote-control action.
IrTransmitRequested
A peer asked a device to blast raw infrared.
BlacklistChanged
A device was added to or removed from the source blacklist.
VideoWallCommand
A video wall command arrived.
BayRegistered
A bay was seen for the first time.
VideoSourceChanged
The bay’s routed video source changed.
AudioSourceChanged
The bay’s routed audio source changed.
VolumeChanged
The bay’s volume or mute state changed.
PowerChanged
The attached device’s power state changed.
NameChanged
The bay was renamed.
SignalDetectedChanged
A signal appeared or disappeared.
FaultyChanged
The bay started or stopped reporting a fault.
HiddenChanged
The bay was hidden or shown.
PoePoweredChanged
Power over Ethernet started or stopped supplying the bay.
HdbtConnectedChanged
The HDBaseT link came up or went down.
SignalTypeChanged
The signal format description changed.
HpdDetectedChanged
Hot-plug detect was asserted or released.
CecDetectedChanged
A CEC device answered or stopped answering.
ArcChanged
The audio return channel changed.
EdidProfileChanged
The input’s EDID profile changed.
RcTypeChanged
The input’s remote-control type changed.
KeyPressed
A remote-control key was pressed on the bay.
ActionReceived
A remote-control action was received on the bay.
MirrorStatusChanged
The bay started or stopped mirroring another output.
AmpZoneSettingsChanged
A ProAmp8 zone’s settings changed.
VolumeStep
A volume step was requested on the bay.
AudioClipped
The bay detected audio clipping.
IrCaptured
Raw infrared was captured on the bay.
FilteredDevicesChanged
The devices filtered out of this sink’s picker changed.
AudioEndpointChanged
The audio endpoint the bay carries changed.
EncoderDisabledChanged
The bay’s V2IP encoder was enabled or disabled.
DecoderDisabledChanged
The bay’s V2IP decoder was enabled or disabled.
BayLinked
The bay was linked to a bay on another device.
linked_serial is the serial of the device at the other end of the
link, and bay_name the name of the bay whose link record changed:
this bay on the device that reported the change, and the far bay on
its peer. Both ends are told, so both fire.
Fields
features: LinkFeatureBayUnlinked
The bay’s link to another device was removed.
The arguments describe the link that was removed, and mean what
they do on Event::BayLinked.