pub struct IsoTpKernelOptions {
pub max_rx_payload: usize,
pub socket: IsoTpSocketOptions,
pub flow_control: Option<IsoTpFlowControlOptions>,
pub link_layer: Option<IsoTpLinkLayerOptions>,
pub force_tx_stmin: Option<Duration>,
pub force_rx_stmin: Option<Duration>,
}Expand description
Kernel ISO-TP socket configuration.
Fields§
§max_rx_payload: usizeMaximum payload size to receive into the internal buffer.
socket: IsoTpSocketOptionsBase ISO-TP socket options.
flow_control: Option<IsoTpFlowControlOptions>Flow control options (optional).
link_layer: Option<IsoTpLinkLayerOptions>Link-layer options (optional).
force_tx_stmin: Option<Duration>Force TX STmin (nanoseconds) regardless of FC frames.
force_rx_stmin: Option<Duration>Force RX STmin (nanoseconds) regardless of received CF timestamps.
Trait Implementations§
Source§impl Clone for IsoTpKernelOptions
impl Clone for IsoTpKernelOptions
Source§fn clone(&self) -> IsoTpKernelOptions
fn clone(&self) -> IsoTpKernelOptions
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 IsoTpKernelOptions
impl Debug for IsoTpKernelOptions
Auto Trait Implementations§
impl Freeze for IsoTpKernelOptions
impl RefUnwindSafe for IsoTpKernelOptions
impl Send for IsoTpKernelOptions
impl Sync for IsoTpKernelOptions
impl Unpin for IsoTpKernelOptions
impl UnsafeUnpin for IsoTpKernelOptions
impl UnwindSafe for IsoTpKernelOptions
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