pub struct MockConnection { /* private fields */ }Expand description
Mock BLE connection
Implementations§
Trait Implementations§
Source§impl BleConnection for MockConnection
impl BleConnection for MockConnection
Source§fn connected_duration(&self) -> Duration
fn connected_duration(&self) -> Duration
Get connection duration
Auto Trait Implementations§
impl !Freeze for MockConnection
impl RefUnwindSafe for MockConnection
impl Send for MockConnection
impl Sync for MockConnection
impl Unpin for MockConnection
impl UnwindSafe for MockConnection
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