pub enum ChannelLockState {
Idle,
Signal,
Locked,
}Expand description
Three-state indicator for the sidebar glyph (●/○/⚠).
Variants§
Idle
No RF energy detected.
Signal
RF energy present but no decoded frames within the recent window.
Locked
Recent frames decoded successfully.
Trait Implementations§
Source§impl Clone for ChannelLockState
impl Clone for ChannelLockState
Source§fn clone(&self) -> ChannelLockState
fn clone(&self) -> ChannelLockState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChannelLockState
impl Debug for ChannelLockState
Source§impl Default for ChannelLockState
impl Default for ChannelLockState
Source§fn default() -> ChannelLockState
fn default() -> ChannelLockState
Returns the “default value” for a type. Read more
Source§impl PartialEq for ChannelLockState
impl PartialEq for ChannelLockState
Source§fn eq(&self, other: &ChannelLockState) -> bool
fn eq(&self, other: &ChannelLockState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ChannelLockState
impl Eq for ChannelLockState
impl StructuralPartialEq for ChannelLockState
Auto Trait Implementations§
impl Freeze for ChannelLockState
impl RefUnwindSafe for ChannelLockState
impl Send for ChannelLockState
impl Sync for ChannelLockState
impl Unpin for ChannelLockState
impl UnsafeUnpin for ChannelLockState
impl UnwindSafe for ChannelLockState
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