pub struct SegmenterConfig {
pub addressing_mode: IsoTpAddressingMode,
pub max_frame_data_len: usize,
}Expand description
Configuration for an ISO-TP segmenter session.
Fields§
§addressing_mode: IsoTpAddressingMode§max_frame_data_len: usizeMaximum data bytes per CAN frame - 8 for classic CAN, up to 64 for CAN FD.
Implementations§
Source§impl SegmenterConfig
impl SegmenterConfig
pub fn classic(addressing_mode: IsoTpAddressingMode) -> Self
pub fn fd(addressing_mode: IsoTpAddressingMode) -> Self
Trait Implementations§
Source§impl Clone for SegmenterConfig
impl Clone for SegmenterConfig
Source§fn clone(&self) -> SegmenterConfig
fn clone(&self) -> SegmenterConfig
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 SegmenterConfig
impl Debug for SegmenterConfig
Source§impl PartialEq for SegmenterConfig
impl PartialEq for SegmenterConfig
impl Eq for SegmenterConfig
impl StructuralPartialEq for SegmenterConfig
Auto Trait Implementations§
impl Freeze for SegmenterConfig
impl RefUnwindSafe for SegmenterConfig
impl Send for SegmenterConfig
impl Sync for SegmenterConfig
impl Unpin for SegmenterConfig
impl UnsafeUnpin for SegmenterConfig
impl UnwindSafe for SegmenterConfig
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