pub struct EventReportPdu {
pub originating_entity_id: EntityId,
pub receiving_entity_id: EntityId,
pub event_type: EventType,
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.12
Fields§
§originating_entity_id: EntityId§receiving_entity_id: EntityId§event_type: EventType§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 Debug for EventReportPdu
impl Debug for EventReportPdu
Source§impl Default for EventReportPdu
impl Default for EventReportPdu
Source§impl Pdu for EventReportPdu
impl Pdu for EventReportPdu
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 EventReportPdu
impl RefUnwindSafe for EventReportPdu
impl Send for EventReportPdu
impl Sync for EventReportPdu
impl Unpin for EventReportPdu
impl UnwindSafe for EventReportPdu
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