pub struct EpHeader {
pub pdu_type: PduType,
pub user_flag: bool,
pub service_group: u8,
pub procedure_id: u8,
}Expand description
Parsed SDLS-EP PDU header.
Wire format (3 bytes, per Figure 5-2): byte 0 (Tag): type(1) | user_flag(1) | service_group(2) | procedure_id(4) byte 1-2: data field length in bits (16-bit BE, octet-aligned)
Fields§
§pdu_type: PduTypeCommand or reply.
user_flag: boolUser-defined extension flag.
service_group: u8Service group (2 bits).
procedure_id: u8Procedure identifier within the service group (4 bits).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EpHeader
impl RefUnwindSafe for EpHeader
impl Send for EpHeader
impl Sync for EpHeader
impl Unpin for EpHeader
impl UnsafeUnpin for EpHeader
impl UnwindSafe for EpHeader
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