Skip to main content

IsoTpAsyncNodeBuilder

Struct IsoTpAsyncNodeBuilder 

Source
pub struct IsoTpAsyncNodeBuilder<Tx, Rx, C> { /* private fields */ }
Expand description

Builder for IsoTpAsyncNode that enforces providing RX storage before construction.

Implementations§

Source§

impl<Tx, Rx, C> IsoTpAsyncNodeBuilder<Tx, Rx, C>

Source

pub fn rx_buffer<'a>( self, buffer: &'a mut [u8], ) -> IsoTpAsyncNodeBuilderWithRx<'a, Tx, Rx, C>

Provide the RX buffer used for receive-side reassembly.

Source

pub fn rx_storage<'a>( self, rx_storage: RxStorage<'a>, ) -> IsoTpAsyncNodeBuilderWithRx<'a, Tx, Rx, C>

Provide explicit RX storage (borrowed or owned, depending on features).

Auto Trait Implementations§

§

impl<Tx, Rx, C> Freeze for IsoTpAsyncNodeBuilder<Tx, Rx, C>
where Tx: Freeze, Rx: Freeze, C: Freeze,

§

impl<Tx, Rx, C> RefUnwindSafe for IsoTpAsyncNodeBuilder<Tx, Rx, C>

§

impl<Tx, Rx, C> Send for IsoTpAsyncNodeBuilder<Tx, Rx, C>
where Tx: Send, Rx: Send, C: Send,

§

impl<Tx, Rx, C> Sync for IsoTpAsyncNodeBuilder<Tx, Rx, C>
where Tx: Sync, Rx: Sync, C: Sync,

§

impl<Tx, Rx, C> Unpin for IsoTpAsyncNodeBuilder<Tx, Rx, C>
where Tx: Unpin, Rx: Unpin, C: Unpin,

§

impl<Tx, Rx, C> UnsafeUnpin for IsoTpAsyncNodeBuilder<Tx, Rx, C>
where Tx: UnsafeUnpin, Rx: UnsafeUnpin, C: UnsafeUnpin,

§

impl<Tx, Rx, C> UnwindSafe for IsoTpAsyncNodeBuilder<Tx, Rx, C>
where Tx: UnwindSafe, Rx: UnwindSafe, C: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.