#[non_exhaustive]pub enum Beacon {
IBeacon(IBeacon),
AltBeacon(AltBeacon),
Eddystone(Eddystone),
BtHome(BtHome),
Kkm(Kkm),
Ruuvi(Ruuvi),
}Expand description
A decoded beacon or sensor frame.
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.
IBeacon(IBeacon)
Apple iBeacon.
AltBeacon(AltBeacon)
AltBeacon.
Eddystone(Eddystone)
Eddystone.
BtHome(BtHome)
BTHome v2.
Kkm(Kkm)
KKM KBeacon.
Ruuvi(Ruuvi)
Ruuvi.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Beacon
Auto Trait Implementations§
impl Freeze for Beacon
impl RefUnwindSafe for Beacon
impl Send for Beacon
impl Sync for Beacon
impl Unpin for Beacon
impl UnsafeUnpin for Beacon
impl UnwindSafe for Beacon
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