pub enum LinkState {
Up,
Down,
}Expand description
Coarse health flag for the radio, observed via Stack.
Mirrors embassy-net::LinkState semantics: not a per-error report, just
“the radio is broadly working” (Up) or “we’ve seen a streak of failures”
(Down). See the module-level docs for the exact transition rules.
Variants§
Trait Implementations§
impl Copy for LinkState
impl Eq for LinkState
impl StructuralPartialEq for LinkState
Auto Trait Implementations§
impl Freeze for LinkState
impl RefUnwindSafe for LinkState
impl Send for LinkState
impl Sync for LinkState
impl Unpin for LinkState
impl UnsafeUnpin for LinkState
impl UnwindSafe for LinkState
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