pub struct PairingMock { /* private fields */ }
Expand description
Provides a simple mock implementation of fuchsia.bluetooth.sys.Pairing
.
Implementations§
Source§impl PairingMock
impl PairingMock
pub fn new( timeout: MonotonicDuration, ) -> Result<(PairingProxy, PairingMock), Error>
pub async fn expect_set_pairing_delegate( &mut self, expected_input_cap: InputCapability, expected_output_cap: OutputCapability, ) -> Result<PairingDelegateProxy, Error>
Auto Trait Implementations§
impl Freeze for PairingMock
impl !RefUnwindSafe for PairingMock
impl Send for PairingMock
impl Sync for PairingMock
impl Unpin for PairingMock
impl !UnwindSafe for PairingMock
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