pub struct DataPdu {
pub originating_entity_id: EntityId,
pub receiving_entity_id: EntityId,
pub request_id: u32,
pub number_of_fixed_datum_records: u32,
pub number_of_variable_datum_records: u32,
pub fixed_datum_records: Vec<FixedDatumRecord>,
pub variable_datum_records: Vec<VariableDatumRecord>,
/* private fields */
}Expand description
Implemented according to IEEE 1278.1-2012 §7.5.11
Fields§
§originating_entity_id: EntityId§receiving_entity_id: EntityId§request_id: u32§number_of_fixed_datum_records: u32§number_of_variable_datum_records: u32§fixed_datum_records: Vec<FixedDatumRecord>§variable_datum_records: Vec<VariableDatumRecord>Implementations§
Trait Implementations§
Source§impl Pdu for DataPdu
impl Pdu for DataPdu
type Header = PduHeader
fn header(&self) -> &Self::Header
fn header_mut(&mut self) -> &mut Self::Header
Source§fn deserialize<B: Buf>(buf: &mut B) -> Result<Self, DISError>where
Self: Sized,
fn deserialize<B: Buf>(buf: &mut B) -> Result<Self, DISError>where
Self: Sized,
Errors Read more
Source§fn deserialize_without_header<B: Buf>(
buf: &mut B,
header: Self::Header,
) -> Result<Self, DISError>where
Self: Sized,
fn deserialize_without_header<B: Buf>(
buf: &mut B,
header: Self::Header,
) -> Result<Self, DISError>where
Self: Sized,
Errors Read more
fn as_any(&self) -> &dyn Any
fn finalize(&mut self)
Auto Trait Implementations§
impl Freeze for DataPdu
impl RefUnwindSafe for DataPdu
impl Send for DataPdu
impl Sync for DataPdu
impl Unpin for DataPdu
impl UnwindSafe for DataPdu
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