pub trait FetchHandler: DynClone {
    fn fetch_file(
        &self,
        state: &mut OpState,
        url: Url
    ) -> (CancelableResponseFuture, Option<FetchRequestBodyResource>, Option<Rc<CancelHandle>>); }

Required Methods§

source

fn fetch_file(
    &self,
    state: &mut OpState,
    url: Url
) -> (CancelableResponseFuture, Option<FetchRequestBodyResource>, Option<Rc<CancelHandle>>)

Trait Implementations§

source§

impl<'clone> Clone for Box<dyn FetchHandler + 'clone>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'clone> Clone for Box<dyn FetchHandler + Send + 'clone>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'clone> Clone for Box<dyn FetchHandler + Send + Sync + 'clone>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'clone> Clone for Box<dyn FetchHandler + Sync + 'clone>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementors§