pub struct FrameHeader {
pub frame_type: FrameType,
pub destination: u8,
pub source: u8,
}Expand description
The addressing fields of an MS/TP frame header.
The length field is not stored: it follows from the data that goes with
the header, Frame::data, and the frame type.
Fields§
§frame_type: FrameTypeFrame type.
destination: u8Destination station address; 255 is broadcast.
source: u8Source station address.
Implementations§
Trait Implementations§
Source§impl Clone for FrameHeader
impl Clone for FrameHeader
impl Copy for FrameHeader
Source§impl Debug for FrameHeader
impl Debug for FrameHeader
impl Eq for FrameHeader
Source§impl Hash for FrameHeader
impl Hash for FrameHeader
Source§impl PartialEq for FrameHeader
impl PartialEq for FrameHeader
impl StructuralPartialEq for FrameHeader
Auto Trait Implementations§
impl Freeze for FrameHeader
impl RefUnwindSafe for FrameHeader
impl Send for FrameHeader
impl Sync for FrameHeader
impl Unpin for FrameHeader
impl UnsafeUnpin for FrameHeader
impl UnwindSafe for FrameHeader
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