#[non_exhaustive]pub enum DetectionSource {
Vis {
code: u8,
},
SyncTiming {
ambiguous: bool,
candidate_count: u8,
},
Manual,
}Expand description
How a decoder selected an SSTV mode.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Vis
A valid VIS word selected the mode.
SyncTiming
Repeated sync pulse width and period selected the best candidate.
Fields
Manual
The caller locked the decoder to one mode.
Trait Implementations§
Source§impl Clone for DetectionSource
impl Clone for DetectionSource
impl Copy for DetectionSource
Source§impl Debug for DetectionSource
impl Debug for DetectionSource
Source§impl PartialEq for DetectionSource
impl PartialEq for DetectionSource
impl StructuralPartialEq for DetectionSource
Auto Trait Implementations§
impl Forget for DetectionSource
impl Freeze for DetectionSource
impl Move for DetectionSource
impl RefUnwindSafe for DetectionSource
impl Send for DetectionSource
impl Sync for DetectionSource
impl Unpin for DetectionSource
impl UnsafeUnpin for DetectionSource
impl UnwindSafe for DetectionSource
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