pub struct AssistantDebug<T: GattTypes, R: GetPeerAddr> { /* private fields */ }
Implementations§
Source§impl<T: GattTypes + 'static, R: GetPeerAddr> AssistantDebug<T, R>
impl<T: GattTypes + 'static, R: GetPeerAddr> AssistantDebug<T, R>
pub fn new(central: T::Central, peer_addr_getter: R) -> Selfwhere
<T as GattTypes>::NotificationStream: Send,
pub fn start(&mut self) -> Result<EventStream<T>, Error>
pub fn look_for_scan_delegators(&mut self) -> Result<T::ScanResultStream, Error>
pub fn take_connected_peer_event_stream( &mut self, ) -> Result<impl Stream<Item = Result<BassEvent, BassClientError>> + FusedStream, Error>
Trait Implementations§
Auto Trait Implementations§
impl<T, R> !Freeze for AssistantDebug<T, R>
impl<T, R> !RefUnwindSafe for AssistantDebug<T, R>
impl<T, R> !Send for AssistantDebug<T, R>
impl<T, R> !Sync for AssistantDebug<T, R>
impl<T, R> Unpin for AssistantDebug<T, R>
impl<T, R> !UnwindSafe for AssistantDebug<T, R>
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