pub struct DoipHeader {
pub protocol_version: ProtocolVersion,
pub inverse_protocol_version: u8,
pub payload_type: PayloadType,
pub payload_length: u32,
}Fields§
§protocol_version: ProtocolVersion§inverse_protocol_version: u8§payload_type: PayloadType§payload_length: u32Trait Implementations§
Source§impl Clone for DoipHeader
impl Clone for DoipHeader
Source§fn clone(&self) -> DoipHeader
fn clone(&self) -> DoipHeader
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 DoipHeader
impl Debug for DoipHeader
Source§impl FrameRead<'_> for DoipHeader
impl FrameRead<'_> for DoipHeader
Source§impl FrameWrite for DoipHeader
impl FrameWrite for DoipHeader
Source§impl Ord for DoipHeader
impl Ord for DoipHeader
Source§fn cmp(&self, other: &DoipHeader) -> Ordering
fn cmp(&self, other: &DoipHeader) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DoipHeader
impl PartialEq for DoipHeader
Source§impl PartialOrd for DoipHeader
impl PartialOrd for DoipHeader
impl Eq for DoipHeader
impl StructuralPartialEq for DoipHeader
Auto Trait Implementations§
impl Freeze for DoipHeader
impl RefUnwindSafe for DoipHeader
impl Send for DoipHeader
impl Sync for DoipHeader
impl Unpin for DoipHeader
impl UnsafeUnpin for DoipHeader
impl UnwindSafe for DoipHeader
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