Struct bt_fidl_mocks::sys::PairingMock
source · 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: Duration) -> 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