pub enum RdmResponseError<E> {
NotMatching,
ParameterDataNotDeserializable,
ErrorNotDeserializable,
NotReady(u16),
NotAcknowledged(NackReason),
DmxError(DmxError<E>),
}
Variants§
NotMatching
The received package doesn’t match the request.
ParameterDataNotDeserializable
The parameter data couldn’t be deserialized.
ErrorNotDeserializable
The response has an error status but the contents aren’t deserializable.
NotReady(u16)
The response isn’t ready yet. The value is the estimated time in 100ms steps.
NotAcknowledged(NackReason)
The responder didn’t acknowledge the request.
DmxError(DmxError<E>)
The underlying dmx controller raised an error.
Trait Implementations§
Source§impl<E: Debug> Debug for RdmResponseError<E>
impl<E: Debug> Debug for RdmResponseError<E>
Source§impl<E: Debug> Display for RdmResponseError<E>
impl<E: Debug> Display for RdmResponseError<E>
Source§impl<E: Debug + Display> Error for RdmResponseError<E>
impl<E: Debug + Display> Error for RdmResponseError<E>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl<E> Format for RdmResponseError<E>
impl<E> Format for RdmResponseError<E>
Source§impl<E> From<DeserializationError> for RdmResponseError<E>
impl<E> From<DeserializationError> for RdmResponseError<E>
Source§fn from(_: DeserializationError) -> Self
fn from(_: DeserializationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for RdmResponseError<E>where
E: Freeze,
impl<E> RefUnwindSafe for RdmResponseError<E>where
E: RefUnwindSafe,
impl<E> Send for RdmResponseError<E>where
E: Send,
impl<E> Sync for RdmResponseError<E>where
E: Sync,
impl<E> Unpin for RdmResponseError<E>where
E: Unpin,
impl<E> UnwindSafe for RdmResponseError<E>where
E: UnwindSafe,
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