fidl_fuchsia_net_http

Trait LoaderProxyInterface

Source
pub trait LoaderProxyInterface: Send + Sync {
    type FetchResponseFut: Future<Output = Result<Response, Error>> + Send;

    // Required methods
    fn fetch(&self, request: Request) -> Self::FetchResponseFut;
    fn start(
        &self,
        request: Request,
        client: ClientEnd<LoaderClientMarker>,
    ) -> Result<(), Error>;
}

Required Associated Types§

Required Methods§

Source

fn fetch(&self, request: Request) -> Self::FetchResponseFut

Source

fn start( &self, request: Request, client: ClientEnd<LoaderClientMarker>, ) -> Result<(), Error>

Implementors§