pub struct AcknowledgeReliablePdu {
pub pdu_header: PduHeader,
pub originating_entity_id: EntityId,
pub receiving_entity_id: EntityId,
pub acknowledge_flag: AcknowledgeFlag,
pub response_flag: AcknowledgeResponseFlag,
pub request_id: u32,
}Expand description
Implemented according to IEEE 1278.1-2012 §7.11.6
Fields§
§pdu_header: PduHeader§originating_entity_id: EntityId§receiving_entity_id: EntityId§acknowledge_flag: AcknowledgeFlag§response_flag: AcknowledgeResponseFlag§request_id: u32Trait Implementations§
Source§impl Clone for AcknowledgeReliablePdu
impl Clone for AcknowledgeReliablePdu
Source§fn clone(&self) -> AcknowledgeReliablePdu
fn clone(&self) -> AcknowledgeReliablePdu
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 AcknowledgeReliablePdu
impl Debug for AcknowledgeReliablePdu
Source§impl Default for AcknowledgeReliablePdu
impl Default for AcknowledgeReliablePdu
Source§fn default() -> Self
fn default() -> Self
Creates a default Acknowledge Reliable PDU with arbitrary originating and receiving entity IDs
§Examples
Initializing an Acknowledge Reliable PDU:
use open_dis_rust::simulation_management_with_reliability::acknowledge_reliable_pdu::AcknowledgeReliablePdu;
let acknowledge_reliable_pdu = AcknowledgeReliablePdu::default();Source§impl Pdu for AcknowledgeReliablePdu
impl Pdu for AcknowledgeReliablePdu
impl Copy for AcknowledgeReliablePdu
Auto Trait Implementations§
impl Freeze for AcknowledgeReliablePdu
impl RefUnwindSafe for AcknowledgeReliablePdu
impl Send for AcknowledgeReliablePdu
impl Sync for AcknowledgeReliablePdu
impl Unpin for AcknowledgeReliablePdu
impl UnwindSafe for AcknowledgeReliablePdu
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