Struct obd::passthru::PassThruIsoTp[][src]

pub struct PassThruIsoTp<'ch> { /* fields omitted */ }

PassThru ISO-TP channel.

Implementations

impl<'ch> PassThruIsoTp<'ch>[src]

pub fn new(
    device: &'ch Device<'_>,
    baudrate: u32,
    timeout: u32
) -> Result<PassThruIsoTp<'ch>, Error>
[src]

Creates a new ISO-TP channel from a device

Arguments

  • device - the PassThru device.
  • baudrate - the baudrate in Hertz used in the CAN layer.
  • timeout - the timeout in milliseconds for sending and receiving.

pub fn set_filter(
    &mut self,
    source_id: u32,
    destination_id: u32
) -> Result<(), Error>
[src]

Establishes the flow control filter

Trait Implementations

impl IsoTp for PassThruIsoTp<'_>[src]

Auto Trait Implementations

impl<'ch> RefUnwindSafe for PassThruIsoTp<'ch>[src]

impl<'ch> !Send for PassThruIsoTp<'ch>[src]

impl<'ch> !Sync for PassThruIsoTp<'ch>[src]

impl<'ch> Unpin for PassThruIsoTp<'ch>[src]

impl<'ch> UnwindSafe for PassThruIsoTp<'ch>[src]

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, 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.

impl<I> Uds for I where
    I: IsoTp
[src]