pub struct UdsConsecutiveFrame {
pub seq_num: u8,
pub payload: Vec<u8>,
}Expand description
Represents a UDS Consecutive Frame. This frame is used for multi-frame transmissions after the First Frame.
Fields§
§seq_num: u8Sequence number (4 bits, values range from 0 to 15).
payload: Vec<u8>The next portion of the payload.
Implementations§
Source§impl UdsConsecutiveFrame
impl UdsConsecutiveFrame
Trait Implementations§
Source§impl Clone for UdsConsecutiveFrame
impl Clone for UdsConsecutiveFrame
Source§fn clone(&self) -> UdsConsecutiveFrame
fn clone(&self) -> UdsConsecutiveFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UdsConsecutiveFrame
impl Debug for UdsConsecutiveFrame
Source§impl PartialEq for UdsConsecutiveFrame
impl PartialEq for UdsConsecutiveFrame
Source§fn eq(&self, other: &UdsConsecutiveFrame) -> bool
fn eq(&self, other: &UdsConsecutiveFrame) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UdsConsecutiveFrame
Auto Trait Implementations§
impl Freeze for UdsConsecutiveFrame
impl RefUnwindSafe for UdsConsecutiveFrame
impl Send for UdsConsecutiveFrame
impl Sync for UdsConsecutiveFrame
impl Unpin for UdsConsecutiveFrame
impl UnsafeUnpin for UdsConsecutiveFrame
impl UnwindSafe for UdsConsecutiveFrame
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