pub enum RxOrigin {
Air,
LocalTx,
Backhaul,
}Expand description
Where a received frame came from.
Only RxOrigin::Air carries real measurements. The other two arrive
through paths with no radio in them, so their rssi, snr, and lqi
carry no information and must be reported as unmeasured wherever a
receiver would otherwise read them as a link quality.
Variants§
Air
A reception off the air.
LocalTx
A copy of a frame this device just transmitted.
Backhaul
A frame handed over by an attached host across a point-to-point link.
Implementations§
Trait Implementations§
impl Copy for RxOrigin
impl Eq for RxOrigin
impl StructuralPartialEq for RxOrigin
Auto Trait Implementations§
impl Freeze for RxOrigin
impl RefUnwindSafe for RxOrigin
impl Send for RxOrigin
impl Sync for RxOrigin
impl Unpin for RxOrigin
impl UnwindSafe for RxOrigin
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)