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§
source§impl Clone for FsFetchHandler
impl Clone for FsFetchHandler
source§fn clone(&self) -> FsFetchHandler
fn clone(&self) -> FsFetchHandler
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl FetchHandler for FsFetchHandler
impl FetchHandler for FsFetchHandler
fn fetch_file( &self, _state: &mut OpState, url: Url ) -> (CancelableResponseFuture, 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more