pub struct TransferOwnershipPdu {
pub originating_id: SimulationIdentifier,
pub receiving_id: SimulationIdentifier,
pub request_id: u32,
pub required_reliability_service: RequiredReliabilityService,
pub transfer_type: TransferControlTransferType,
pub transfer_entity_id: EntityId,
pub record_information: RecordSpecification,
/* private fields */
}Expand description
Implemented according to IEEE 1278.1-2012 §7.8.4
Fields§
§originating_id: SimulationIdentifier§receiving_id: SimulationIdentifier§request_id: u32§required_reliability_service: RequiredReliabilityService§transfer_type: TransferControlTransferType§transfer_entity_id: EntityId§record_information: RecordSpecificationImplementations§
Trait Implementations§
Source§impl Debug for TransferOwnershipPdu
impl Debug for TransferOwnershipPdu
Source§impl Default for TransferOwnershipPdu
impl Default for TransferOwnershipPdu
Source§impl Pdu for TransferOwnershipPdu
impl Pdu for TransferOwnershipPdu
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 TransferOwnershipPdu
impl RefUnwindSafe for TransferOwnershipPdu
impl Send for TransferOwnershipPdu
impl Sync for TransferOwnershipPdu
impl Unpin for TransferOwnershipPdu
impl UnwindSafe for TransferOwnershipPdu
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