#[repr(u8)]pub enum BMDataType {
Unknown = 0,
Lin = 1,
Can = 2,
FlexRay = 3,
ModBus = 4,
Ethernet = 5,
Ack = 8,
}Expand description
Busmust data type flags, must be given in BMData.
Variants§
Unknown = 0
Unknown data type
Lin = 1
LIN message data type
Can = 2
CAN or CAN-FD message data type (check FDF flag further)
FlexRay = 3
FlexRay message data type
ModBus = 4
MODBUS message data type
Ethernet = 5
Ethernet message data type
Ack = 8
ACK from bus, which indicates TXCMPLT event if this is BMDataType::Can
Trait Implementations§
Source§impl Clone for BMDataType
impl Clone for BMDataType
Source§fn clone(&self) -> BMDataType
fn clone(&self) -> BMDataType
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 BMDataType
impl Debug for BMDataType
impl Copy for BMDataType
Auto Trait Implementations§
impl Freeze for BMDataType
impl RefUnwindSafe for BMDataType
impl Send for BMDataType
impl Sync for BMDataType
impl Unpin for BMDataType
impl UnwindSafe for BMDataType
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