pub struct EmbeddedBleBackend { /* private fields */ }Trait Implementations§
Source§impl BleBackend<PEER_CAPACITY> for EmbeddedBleBackend
impl BleBackend<PEER_CAPACITY> for EmbeddedBleBackend
type Error = Closed
type Link = EmbeddedBleLink
async fn set_advertising(&mut self, mode: AdvertisingMode) -> Result<(), Closed>
async fn set_scanning(&mut self, mode: ScanningMode) -> Result<(), Closed>
async fn set_radio_mode(&mut self, mode: RadioMode) -> Result<(), Closed>
async fn next_event(&mut self) -> BleEvent<EmbeddedBleLink>
async fn dial(&mut self, address: BleAddress) -> DialOutcome
Source§fn blocked(&self) -> Option<&'static str>
fn blocked(&self) -> Option<&'static str>
A blocked backend is reported as a failed interface without bringing up the radio.
async fn local_capabilities( &mut self, configured: LinkCapabilities, ) -> Result<LinkCapabilities, Self::Error>
async fn on_link_closed(&mut self, _address: BleAddress)
Auto Trait Implementations§
impl !RefUnwindSafe for EmbeddedBleBackend
impl !Send for EmbeddedBleBackend
impl !Sync for EmbeddedBleBackend
impl !UnwindSafe for EmbeddedBleBackend
impl Freeze for EmbeddedBleBackend
impl Unpin for EmbeddedBleBackend
impl UnsafeUnpin for EmbeddedBleBackend
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