Struct deno_fetch::DefaultFileFetchHandler
source ·
[−]pub struct DefaultFileFetchHandler;
Expand description
A default implementation which will error for every request.
Trait Implementations
fn fetch_file(
&self,
_state: &mut OpState,
_url: Url
) -> (CancelableResponseFuture, Option<FetchRequestBodyResource>, Option<Rc<CancelHandle>>)
Auto Trait Implementations
impl RefUnwindSafe for DefaultFileFetchHandler
impl Send for DefaultFileFetchHandler
impl Sync for DefaultFileFetchHandler
impl Unpin for DefaultFileFetchHandler
impl UnwindSafe for DefaultFileFetchHandler
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more