fidl_fuchsia_bluetooth_sys

Trait PairingDelegateProxyInterface

Source
pub trait PairingDelegateProxyInterface: Send + Sync {
    type OnPairingRequestResponseFut: Future<Output = Result<(bool, u32), Error>> + Send;

    // Required methods
    fn on_pairing_request(
        &self,
        peer: &Peer,
        method: PairingMethod,
        displayed_passkey: u32,
    ) -> Self::OnPairingRequestResponseFut;
    fn on_pairing_complete(
        &self,
        id: &PeerId,
        success: bool,
    ) -> Result<(), Error>;
    fn on_remote_keypress(
        &self,
        id: &PeerId,
        keypress: PairingKeypress,
    ) -> Result<(), Error>;
}

Required Associated Types§

Required Methods§

Source

fn on_pairing_request( &self, peer: &Peer, method: PairingMethod, displayed_passkey: u32, ) -> Self::OnPairingRequestResponseFut

Source

fn on_pairing_complete(&self, id: &PeerId, success: bool) -> Result<(), Error>

Source

fn on_remote_keypress( &self, id: &PeerId, keypress: PairingKeypress, ) -> Result<(), Error>

Implementors§