pub struct MID0004rev1 {
pub mid: u16,
pub error_code: ErrorCode,
}Expand description
§5.2.4 MID 0004 Application Communication negative acknowledge
This message is used by the controller when a request, command or subscription for any reason has not been performed. The data field contains the message ID of the message request that failed as well as an error code.
Fields§
§mid: u16§error_code: ErrorCodeTrait Implementations§
Source§impl Debug for MID0004rev1
impl Debug for MID0004rev1
Source§impl Decode for MID0004rev1
impl Decode for MID0004rev1
Source§impl Default for MID0004rev1
impl Default for MID0004rev1
Source§fn default() -> MID0004rev1
fn default() -> MID0004rev1
Returns the “default value” for a type. Read more
Source§impl Encode for MID0004rev1
impl Encode for MID0004rev1
Source§impl Message for MID0004rev1
impl Message for MID0004rev1
fn mid() -> u16
fn to_mid(&self) -> u16
fn revision() -> u16
fn to_revision(&self) -> u16
fn message_type() -> MessageType
fn to_message_type(&self) -> MessageType
Source§impl PartialEq for MID0004rev1
impl PartialEq for MID0004rev1
impl Eq for MID0004rev1
impl StructuralPartialEq for MID0004rev1
Auto Trait Implementations§
impl Freeze for MID0004rev1
impl RefUnwindSafe for MID0004rev1
impl Send for MID0004rev1
impl Sync for MID0004rev1
impl Unpin for MID0004rev1
impl UnwindSafe for MID0004rev1
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