pub enum InEvent {
Attached(Transport),
Detached(Transport),
Frame(Transport, FrameBuf),
CancelAlert,
ToggleGnss,
}Expand description
Framing-free receive path and connection edges into the driver.
Variants§
Attached(Transport)
Detached(Transport)
Frame(Transport, FrameBuf)
CancelAlert
Someone cancelled a running locate alert at the device — the button press of whoever found the radio. Ignored when no alert is running, so a board may report the press unconditionally.
ToggleGnss
The receiver switch was flipped at the device, on a board that
offers GNSS as a user-facing control. Ignored without CAP_GNSS,
so a board may report the press unconditionally.
Auto Trait Implementations§
impl Freeze for InEvent
impl RefUnwindSafe for InEvent
impl Send for InEvent
impl Sync for InEvent
impl Unpin for InEvent
impl UnwindSafe for InEvent
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