pub struct IsoTpSocketOptions {
pub flags: u32,
pub frame_txtime: Option<Duration>,
pub ext_address: Option<u8>,
pub tx_padding: Option<u8>,
pub rx_padding: Option<u8>,
pub rx_ext_address: Option<u8>,
}Expand description
Socket-level ISO-TP options.
Fields§
§flags: u32Raw kernel flag bits (see flags module).
frame_txtime: Option<Duration>Frame transmit time (N_As/N_Ar) for the kernel in nanoseconds.
ext_address: Option<u8>Extended addressing byte for TX and RX (normal extended addressing).
tx_padding: Option<u8>Padding byte for transmit frames (enables TX padding flag).
rx_padding: Option<u8>Padding byte for receive frames (enables RX padding flag).
rx_ext_address: Option<u8>Separate RX extended address (enables RX_EXT_ADDR flag).
Trait Implementations§
Source§impl Clone for IsoTpSocketOptions
impl Clone for IsoTpSocketOptions
Source§fn clone(&self) -> IsoTpSocketOptions
fn clone(&self) -> IsoTpSocketOptions
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 IsoTpSocketOptions
impl Debug for IsoTpSocketOptions
Source§impl Default for IsoTpSocketOptions
impl Default for IsoTpSocketOptions
Source§fn default() -> IsoTpSocketOptions
fn default() -> IsoTpSocketOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IsoTpSocketOptions
impl RefUnwindSafe for IsoTpSocketOptions
impl Send for IsoTpSocketOptions
impl Sync for IsoTpSocketOptions
impl Unpin for IsoTpSocketOptions
impl UnsafeUnpin for IsoTpSocketOptions
impl UnwindSafe for IsoTpSocketOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more