fidl_fuchsia_recovery_ui

Trait ProgressRendererProxyInterface

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

    // Required methods
    fn render(
        &self,
        status: Status,
        percent_complete: f32,
    ) -> Self::RenderResponseFut;
    fn render2(
        &self,
        payload: &ProgressRendererRender2Request,
    ) -> Self::Render2ResponseFut;
}

Required Associated Types§

Source

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

Source

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

Required Methods§

Source

fn render( &self, status: Status, percent_complete: f32, ) -> Self::RenderResponseFut

Source

fn render2( &self, payload: &ProgressRendererRender2Request, ) -> Self::Render2ResponseFut

Implementors§