pub struct CommModeBasic {
pub byte_order: ByteOrder,
pub address_granularity: AddressGranularity,
pub slave_block_mode: bool,
pub optional_info: bool,
}Expand description
The COMM_MODE_BASIC byte of the CONNECT response.
Fields§
§byte_order: ByteOrderByte order for all multi-byte fields (Intel = little-endian / Motorola = big-endian).
address_granularity: AddressGranularityAddress granularity (byte / word / dword).
slave_block_mode: boolSlave block mode supported on the current transport.
optional_info: booltrue when the slave supports GET_COMM_MODE_INFO (optional info
available).
Implementations§
Trait Implementations§
Source§impl Clone for CommModeBasic
impl Clone for CommModeBasic
impl Copy for CommModeBasic
Source§impl Debug for CommModeBasic
impl Debug for CommModeBasic
impl Eq for CommModeBasic
Source§impl Hash for CommModeBasic
impl Hash for CommModeBasic
Source§impl PartialEq for CommModeBasic
impl PartialEq for CommModeBasic
impl StructuralPartialEq for CommModeBasic
Auto Trait Implementations§
impl Freeze for CommModeBasic
impl RefUnwindSafe for CommModeBasic
impl Send for CommModeBasic
impl Sync for CommModeBasic
impl Unpin for CommModeBasic
impl UnsafeUnpin for CommModeBasic
impl UnwindSafe for CommModeBasic
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