Struct deno_fetch::FsFetchHandler
source · pub struct FsFetchHandler;
Expand description
An implementation which tries to read file URLs from the file system via tokio::fs.
Trait Implementations
sourceimpl Clone for FsFetchHandler
impl Clone for FsFetchHandler
sourcefn clone(&self) -> FsFetchHandler
fn clone(&self) -> FsFetchHandler
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl FetchHandler for FsFetchHandler
impl FetchHandler for FsFetchHandler
fn fetch_file(
&self,
_state: &mut OpState,
url: Url
) -> (CancelableResponseFuture, Option<FetchRequestBodyResource>, Option<Rc<CancelHandle>>)
Auto Trait Implementations
impl RefUnwindSafe for FsFetchHandler
impl Send for FsFetchHandler
impl Sync for FsFetchHandler
impl Unpin for FsFetchHandler
impl UnwindSafe for FsFetchHandler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more