pub struct FeStatus { /* private fields */ }Expand description
Frontend status
Implementations
sourceimpl FeStatus
impl FeStatus
sourcepub fn get_delivery_system(&self) -> &Option<fe_delivery_system>
pub fn get_delivery_system(&self) -> &Option<fe_delivery_system>
Returns current delivery system
sourcepub fn get_modulation(&self) -> &Option<fe_modulation>
pub fn get_modulation(&self) -> &Option<fe_modulation>
Returns current modulation
sourcepub fn get_signal_strength_decibel(&self) -> &Option<f64>
pub fn get_signal_strength_decibel(&self) -> &Option<f64>
Returns Signal Strength in dBm
sourcepub fn get_signal_strength(&self) -> &Option<u8>
pub fn get_signal_strength(&self) -> &Option<u8>
Returns Signal Strength in percentage
sourcepub fn get_snr_decibel(&self) -> &Option<f64>
pub fn get_snr_decibel(&self) -> &Option<f64>
Returns Signal to noise ratio in dB
Trait Implementations
sourceimpl Display for FeStatus
impl Display for FeStatus
Returns an object that implements Display for different verbosity levels
Tuner is turned off:
OFFTuner acquiring signal but has no lock:
NO-LOCK 0x01 | Signal -38.56dBm (59%)
NO-LOCK 0x03 | Signal -38.56dBm (59%) | Quality 5.32dB (25%)Hex number after NO-LOCK this is tuner status bit flags:
- 0x01 - has signal
- 0x02 - has carrier
- 0x04 - has viterbi
- 0x08 - has sync
- 0x10 - has lock
- 0x20 - timed-out
- 0x40 - re-init
Tuner has lock
LOCK dvb-s2 | Signal -38.56dBm (59%) | Quality 14.57dB (70%) | BER:0 | UNC:0Auto Trait Implementations
impl RefUnwindSafe for FeStatus
impl Send for FeStatus
impl Sync for FeStatus
impl Unpin for FeStatus
impl UnwindSafe for FeStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more