pub enum RdmResult {
Acknowledged(DataPack),
AcknowledgedOverflow(DataPack),
NotAcknowledged(u16),
AcknowledgedTimer(u16),
NoResponse,
Custom(RdmResponseData),
}
Expand description
The result object of an RDM handler.
Variants§
Acknowledged(DataPack)
The package was acknowledged. The DataPack contains the response data.
AcknowledgedOverflow(DataPack)
The package was acknowledged, but it does not fit into one DataPack. The DataPack contains part of the response. If the RDM-controller requests the same pid and the rest of the message still doesn’t fit doesn’t fit into one DataPack, send the next part as an RdmResult::AcknowledgedOverflow. If the rest finally does fit into one DataPack send the rest as an RdmResult::Acknowledged.
NotAcknowledged(u16)
The message was not acknowledged. The u16 is the NackReason.
AcknowledgedTimer(u16)
The message was acknowledged but a result can not be delivered immediately. The u16 contains the amount of time the controller has to wait in 100ms steps.
NoResponse
The receiver does not respond with anything.
Custom(RdmResponseData)
A custom response.