fidl_fuchsia_bluetooth_sys

Trait PairingRequestProxyInterface

Source
pub trait PairingRequestProxyInterface: Send + Sync {
    type KeypressResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn accept(&self, payload: &PairingRequestAcceptRequest) -> Result<(), Error>;
    fn reject(&self) -> Result<(), Error>;
    fn keypress(&self, keypress: PairingKeypress) -> Self::KeypressResponseFut;
}

Required Associated Types§

Source

type KeypressResponseFut: Future<Output = Result<(), Error>> + Send

Required Methods§

Source

fn accept(&self, payload: &PairingRequestAcceptRequest) -> Result<(), Error>

Source

fn reject(&self) -> Result<(), Error>

Source

fn keypress(&self, keypress: PairingKeypress) -> Self::KeypressResponseFut

Implementors§