pub struct ReceiverPdu {
pub entity_id: EntityId,
pub radio_id: u16,
pub receiver_state: ReceiverReceiverState,
pub received_power: f32,
pub transmitter_radio_reference_id: EntityId,
pub transmitter_radio_id: u16,
/* private fields */
}Expand description
Implemented according to IEEE 1278.1-2012 §7.7.4
Fields§
§entity_id: EntityId§radio_id: u16§receiver_state: ReceiverReceiverState§received_power: f32§transmitter_radio_reference_id: EntityId§transmitter_radio_id: u16Implementations§
Source§impl ReceiverPdu
impl ReceiverPdu
Trait Implementations§
Source§impl Debug for ReceiverPdu
impl Debug for ReceiverPdu
Source§impl Default for ReceiverPdu
impl Default for ReceiverPdu
Source§impl Pdu for ReceiverPdu
impl Pdu for ReceiverPdu
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 ReceiverPdu
impl RefUnwindSafe for ReceiverPdu
impl Send for ReceiverPdu
impl Sync for ReceiverPdu
impl Unpin for ReceiverPdu
impl UnwindSafe for ReceiverPdu
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