pub struct CentralControlHandle { /* private fields */ }
Implementations§
source§impl CentralControlHandle
impl CentralControlHandle
pub fn send_on_scan_state_changed(&self, scanning: bool) -> Result<(), Error>
pub fn send_on_device_discovered( &self, device: &RemoteDevice ) -> Result<(), Error>
pub fn send_on_peripheral_disconnected( &self, identifier: &str ) -> Result<(), Error>
Trait Implementations§
source§impl Clone for CentralControlHandle
impl Clone for CentralControlHandle
source§fn clone(&self) -> CentralControlHandle
fn clone(&self) -> CentralControlHandle
Returns a copy 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 ControlHandle for CentralControlHandle
impl ControlHandle for CentralControlHandle
Auto Trait Implementations§
impl Freeze for CentralControlHandle
impl !RefUnwindSafe for CentralControlHandle
impl Send for CentralControlHandle
impl Sync for CentralControlHandle
impl Unpin for CentralControlHandle
impl !UnwindSafe for CentralControlHandle
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