pub enum ResponseErrorKind {
UnexpectedCommand(u8),
Nak(Nak),
}Expand description
The kinds of errors that may be interpreted from a DAC response.
Variants§
UnexpectedCommand(u8)
The response was to a command that was unexpected.
Nak(Nak)
The DAC responded with a NAK.
Trait Implementations§
Source§impl Clone for ResponseErrorKind
impl Clone for ResponseErrorKind
Source§fn clone(&self) -> ResponseErrorKind
fn clone(&self) -> ResponseErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResponseErrorKind
impl Debug for ResponseErrorKind
Source§impl Hash for ResponseErrorKind
impl Hash for ResponseErrorKind
Source§impl PartialEq for ResponseErrorKind
impl PartialEq for ResponseErrorKind
impl Eq for ResponseErrorKind
impl StructuralPartialEq for ResponseErrorKind
Auto Trait Implementations§
impl Freeze for ResponseErrorKind
impl RefUnwindSafe for ResponseErrorKind
impl Send for ResponseErrorKind
impl Sync for ResponseErrorKind
impl Unpin for ResponseErrorKind
impl UnsafeUnpin for ResponseErrorKind
impl UnwindSafe for ResponseErrorKind
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