#[repr(u8)]pub enum RxOrigin {
Ota = 0,
LocalLoopback = 1,
}Expand description
Packet origin — over-the-air vs. local-loopback from another client
(PROTOCOL.md §6.9, §13.4). In single-client firmware always Ota.
Variants§
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 UnsafeUnpin for RxOrigin
impl UnwindSafe for RxOrigin
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