PairingRequestProxyInterface

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§

Required Methods§

Implementors§