pub struct AttributePdu {
pub originating_simulation_address: SimulationAddress,
pub attribute_record_pdu_type: u8,
pub attribute_record_protocol_version: u8,
pub master_attribute_record_type: u32,
pub action_code: DISAttributeActionCode,
pub number_of_attribute_record_sets: u16,
pub attribute_record_sets: Vec<AttributeRecordSet>,
/* private fields */
}Expand description
Implemented according to IEEE 1278.1-2012 §7.2.6
Fields§
§originating_simulation_address: SimulationAddress§attribute_record_pdu_type: u8§attribute_record_protocol_version: u8§master_attribute_record_type: u32§action_code: DISAttributeActionCode§number_of_attribute_record_sets: u16§attribute_record_sets: Vec<AttributeRecordSet>Implementations§
Source§impl AttributePdu
impl AttributePdu
Trait Implementations§
Source§impl Debug for AttributePdu
impl Debug for AttributePdu
Source§impl Default for AttributePdu
impl Default for AttributePdu
Source§impl Pdu for AttributePdu
impl Pdu for AttributePdu
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 AttributePdu
impl RefUnwindSafe for AttributePdu
impl Send for AttributePdu
impl Sync for AttributePdu
impl Unpin for AttributePdu
impl UnwindSafe for AttributePdu
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