pub struct EncodedPacketMeta {
pub frag_index: usize,
pub frag_count: usize,
pub packet_start: usize,
pub packet_len: usize,
pub xbb: Vec<Complex32>,
}Expand description
Packet-level metadata produced during oracle encoding.
Rationale:
- The oracle path needs exact packet boundaries and the corresponding complex baseband samples in order to separate modem failures from search failures.
Fields§
§frag_index: usizeZero-based fragment index inside the encoded burst.
frag_count: usizeTotal number of fragments in the encoded burst.
packet_start: usizePacket start offset, in passband audio samples, inside EncodedBurst::audio.
packet_len: usizePacket length, in passband audio samples.
xbb: Vec<Complex32>Complex baseband packet waveform before passband conversion.
Trait Implementations§
Source§impl Clone for EncodedPacketMeta
impl Clone for EncodedPacketMeta
Source§fn clone(&self) -> EncodedPacketMeta
fn clone(&self) -> EncodedPacketMeta
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 moreAuto Trait Implementations§
impl Freeze for EncodedPacketMeta
impl RefUnwindSafe for EncodedPacketMeta
impl Send for EncodedPacketMeta
impl Sync for EncodedPacketMeta
impl Unpin for EncodedPacketMeta
impl UnwindSafe for EncodedPacketMeta
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