pub struct IsoTpLinkLayerOptions {
pub mtu: u8,
pub tx_dl: u8,
pub tx_flags: u8,
}Expand description
Link-layer options for kernel ISO-TP sockets.
Fields§
§mtu: u8CAN MTU to use (e.g. CAN_MTU or CANFD_MTU).
tx_dl: u8TX data length in bytes for CAN FD (8/12/16/20/24/32/48/64).
tx_flags: u8CAN FD flags (e.g. BRS).
Implementations§
Trait Implementations§
Source§impl Clone for IsoTpLinkLayerOptions
impl Clone for IsoTpLinkLayerOptions
Source§fn clone(&self) -> IsoTpLinkLayerOptions
fn clone(&self) -> IsoTpLinkLayerOptions
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 IsoTpLinkLayerOptions
impl Debug for IsoTpLinkLayerOptions
impl Copy for IsoTpLinkLayerOptions
Auto Trait Implementations§
impl Freeze for IsoTpLinkLayerOptions
impl RefUnwindSafe for IsoTpLinkLayerOptions
impl Send for IsoTpLinkLayerOptions
impl Sync for IsoTpLinkLayerOptions
impl Unpin for IsoTpLinkLayerOptions
impl UnsafeUnpin for IsoTpLinkLayerOptions
impl UnwindSafe for IsoTpLinkLayerOptions
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