#[non_exhaustive]pub enum BoardId {
Jellybean,
Jawbreaker,
HackRfOne,
Rad1o,
HackRfOneR9,
HackRfPro,
Unrecognized,
Undetected,
Unknown(u8),
}Expand description
HackRF board identity reported by firmware.
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.
Jellybean
Pre-production Jellybean board.
Jawbreaker
HackRF Jawbreaker beta board.
HackRfOne
Original HackRF One board.
Rad1o
rad1o badge variant.
HackRfOneR9
HackRF One revision 9 or later.
HackRfPro
HackRF Pro / Praline platform.
Unrecognized
Firmware explicitly reported an unrecognized board.
Undetected
Firmware has not detected a board.
Unknown(u8)
A future firmware board ID not known by this crate.
Implementations§
Trait Implementations§
impl Copy for BoardId
impl Eq for BoardId
impl StructuralPartialEq for BoardId
Auto Trait Implementations§
impl Freeze for BoardId
impl RefUnwindSafe for BoardId
impl Send for BoardId
impl Sync for BoardId
impl Unpin for BoardId
impl UnsafeUnpin for BoardId
impl UnwindSafe for BoardId
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