pub struct SignalPdu {
pub entity_id: EntityId,
pub radio_id: u16,
pub encoding_scheme: u16,
pub tdl_type: SignalTDLType,
pub sample_rate: u32,
pub data_length: u16,
pub samples: u16,
pub data: Vec<u8>,
/* private fields */
}Expand description
Implemented according to IEEE 1278.1-2012 §7.7.3
Fields§
§entity_id: EntityId§radio_id: u16§encoding_scheme: u16§tdl_type: SignalTDLType§sample_rate: u32§data_length: u16§samples: u16§data: Vec<u8>Implementations§
Trait Implementations§
Source§impl Pdu for SignalPdu
impl Pdu for SignalPdu
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 SignalPdu
impl RefUnwindSafe for SignalPdu
impl Send for SignalPdu
impl Sync for SignalPdu
impl Unpin for SignalPdu
impl UnwindSafe for SignalPdu
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