[][src]Struct j2534::PassThruMsg

#[repr(C, packed(1))]pub struct PassThruMsg {
    pub protocol_id: u32,
    pub rx_status: u32,
    pub tx_flags: u32,
    pub timestamp: u32,
    pub data_size: u32,
    pub extra_data_index: u32,
    pub data: [u8; 4128],
}

Fields

protocol_id: u32rx_status: u32tx_flags: u32timestamp: u32data_size: u32extra_data_index: u32data: [u8; 4128]

Methods

impl PassThruMsg[src]

pub fn new_raw(
    protocol: Protocol,
    rx_status: RxStatus,
    tx_flags: TxFlags,
    timestamp: u32,
    data_size: u32,
    extra_data_index: u32,
    data: [u8; 4128]
) -> PassThruMsg
[src]

pub fn new(
    protocol: Protocol,
    rx_status: RxStatus,
    tx_flags: TxFlags,
    timestamp: u32,
    extra_data_index: u32,
    data: &[u8]
) -> PassThruMsg
[src]

Trait Implementations

impl Clone for PassThruMsg[src]

impl Copy for PassThruMsg[src]

impl Debug for PassThruMsg[src]

impl Default for PassThruMsg[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.