#[non_exhaustive]pub enum CommsReplyId {
ConnectAck,
DisconnectAck,
SetParamsAck,
StatusReply,
GetNextBufferAck,
SendAck,
Reserved(u8),
}Expand description
comms_reply_id values (Table 54, p. 53).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ConnectAck
01 — Connect acknowledgement.
DisconnectAck
02 — Disconnect acknowledgement.
SetParamsAck
03 — Set Params acknowledgement.
StatusReply
04 — Status reply (return_value 0 = Disconnected, 1 = Connected).
GetNextBufferAck
05 — Get Next Buffer acknowledgement.
SendAck
06 — Send acknowledgement (return_value = acknowledged phase).
Reserved(u8)
Any other value (reserved).
Implementations§
Trait Implementations§
Source§impl Clone for CommsReplyId
impl Clone for CommsReplyId
Source§fn clone(&self) -> CommsReplyId
fn clone(&self) -> CommsReplyId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CommsReplyId
Source§impl Debug for CommsReplyId
impl Debug for CommsReplyId
Source§impl Display for CommsReplyId
impl Display for CommsReplyId
impl Eq for CommsReplyId
Source§impl PartialEq for CommsReplyId
impl PartialEq for CommsReplyId
Source§fn eq(&self, other: &CommsReplyId) -> bool
fn eq(&self, other: &CommsReplyId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CommsReplyId
impl Serialize for CommsReplyId
impl StructuralPartialEq for CommsReplyId
Auto Trait Implementations§
impl Freeze for CommsReplyId
impl RefUnwindSafe for CommsReplyId
impl Send for CommsReplyId
impl Sync for CommsReplyId
impl Unpin for CommsReplyId
impl UnsafeUnpin for CommsReplyId
impl UnwindSafe for CommsReplyId
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