#[non_exhaustive]pub enum CommsCommandId {
ConnectOnChannel,
DisconnectOnChannel,
SetParams,
EnquireStatus,
GetNextBuffer,
Reserved(u8),
}Expand description
comms_command_id values (Table 52, p. 52).
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.
ConnectOnChannel
01 — establish communication on the comms resource.
DisconnectOnChannel
02 — terminate the connection.
SetParams
03 — set buffer size / timeout.
EnquireStatus
04 — request the current connection status.
GetNextBuffer
05 — receive-side flow control.
Reserved(u8)
Any other value (reserved).
Implementations§
Trait Implementations§
Source§impl Clone for CommsCommandId
impl Clone for CommsCommandId
Source§fn clone(&self) -> CommsCommandId
fn clone(&self) -> CommsCommandId
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 CommsCommandId
Source§impl Debug for CommsCommandId
impl Debug for CommsCommandId
Source§impl Display for CommsCommandId
impl Display for CommsCommandId
impl Eq for CommsCommandId
Source§impl PartialEq for CommsCommandId
impl PartialEq for CommsCommandId
Source§impl Serialize for CommsCommandId
Available on crate feature serde only.
impl Serialize for CommsCommandId
Available on crate feature
serde only.impl StructuralPartialEq for CommsCommandId
Auto Trait Implementations§
impl Freeze for CommsCommandId
impl RefUnwindSafe for CommsCommandId
impl Send for CommsCommandId
impl Sync for CommsCommandId
impl Unpin for CommsCommandId
impl UnsafeUnpin for CommsCommandId
impl UnwindSafe for CommsCommandId
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