pub struct ScanAck<'a> {
pub ts_state: u8,
pub tuning_information_message: &'a [u8],
pub scan_progress: u8,
}Expand description
ScanAck() (Table 18) — module → host: a TS found during a scan.
Fields§
§ts_state: u8TSState — 0 = no signal (or, when auto-scanning, all frequencies
searched); 1-255 = normalized signal-quality (bigger is better).
tuning_information_message: &'a [u8]TuningInformationMessage — 11-byte delivery-system-dependent coding to
re-acquire the TS. Undefined when ts_state == 0.
scan_progress: u8ScanProgress — 0-255, approximate proportional indication of scan progress.
Trait Implementations§
impl<'a> Eq for ScanAck<'a>
Source§impl Serialize for ScanAck<'_>
impl Serialize for ScanAck<'_>
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl<'a> StructuralPartialEq for ScanAck<'a>
Auto Trait Implementations§
impl<'a> Freeze for ScanAck<'a>
impl<'a> RefUnwindSafe for ScanAck<'a>
impl<'a> Send for ScanAck<'a>
impl<'a> Sync for ScanAck<'a>
impl<'a> Unpin for ScanAck<'a>
impl<'a> UnsafeUnpin for ScanAck<'a>
impl<'a> UnwindSafe for ScanAck<'a>
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