pub enum LinkState {
Idle,
Advertising,
ConnectedAsPeripheral,
Scanning,
Reserved,
ConnectedAsPrimary,
TxTest,
RxTest,
}
Expand description
Potential states for a connection.
Variants§
Idle
Idle
Advertising
Advertising
ConnectedAsPeripheral
Connected in peripheral role
Scanning
Scanning
Reserved
Reserved
ConnectedAsPrimary
Connected in primary role
TxTest
TX Test
RxTest
RX Test
Trait Implementations§
impl Copy 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 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