fidl_fuchsia_weave

Trait StackProxyInterface

Source
pub trait StackProxyInterface: Send + Sync {
    type GetQrCodeResponseFut: Future<Output = Result<StackGetQrCodeResult, Error>> + Send;
    type ResetConfigResponseFut: Future<Output = Result<StackResetConfigResult, Error>> + Send;

    // Required methods
    fn get_pairing_state_watcher(
        &self,
        watcher: ServerEnd<PairingStateWatcherMarker>,
    ) -> Result<(), Error>;
    fn get_svc_directory_watcher(
        &self,
        endpoint_id: u64,
        watcher: ServerEnd<SvcDirectoryWatcherMarker>,
    ) -> Result<(), Error>;
    fn get_qr_code(&self) -> Self::GetQrCodeResponseFut;
    fn reset_config(
        &self,
        flags: ResetConfigFlags,
    ) -> Self::ResetConfigResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn get_pairing_state_watcher( &self, watcher: ServerEnd<PairingStateWatcherMarker>, ) -> Result<(), Error>

Source

fn get_svc_directory_watcher( &self, endpoint_id: u64, watcher: ServerEnd<SvcDirectoryWatcherMarker>, ) -> Result<(), Error>

Source

fn get_qr_code(&self) -> Self::GetQrCodeResponseFut

Source

fn reset_config(&self, flags: ResetConfigFlags) -> Self::ResetConfigResponseFut

Implementors§