pub enum PhyControllerEvent {
NegotiationComplete {
local: PhyCapabilities,
peer: PhyCapabilities,
},
SwitchRecommended {
from: BlePhy,
to: BlePhy,
rssi: i8,
},
UpdateComplete(PhyUpdateResult),
RssiUpdate(i8),
}Expand description
Event from the PHY controller
Variants§
NegotiationComplete
PHY negotiation complete
SwitchRecommended
PHY switch recommended
Fields
UpdateComplete(PhyUpdateResult)
PHY update completed
RssiUpdate(i8)
RSSI measurement received
Trait Implementations§
Source§impl Clone for PhyControllerEvent
impl Clone for PhyControllerEvent
Source§fn clone(&self) -> PhyControllerEvent
fn clone(&self) -> PhyControllerEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 PhyControllerEvent
impl Debug for PhyControllerEvent
Source§impl PartialEq for PhyControllerEvent
impl PartialEq for PhyControllerEvent
impl Copy for PhyControllerEvent
impl Eq for PhyControllerEvent
impl StructuralPartialEq for PhyControllerEvent
Auto Trait Implementations§
impl Freeze for PhyControllerEvent
impl RefUnwindSafe for PhyControllerEvent
impl Send for PhyControllerEvent
impl Sync for PhyControllerEvent
impl Unpin for PhyControllerEvent
impl UnwindSafe for PhyControllerEvent
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