pub struct DefaultUrlFetcher {}
Trait Implementations§
Source§impl UrlFetcher for DefaultUrlFetcher
impl UrlFetcher for DefaultUrlFetcher
fn fetch(&self, url: &str) -> Result<String, ResolverError>
fn fetch_bytes(&self, url: &str) -> Result<Bytes, ResolverError>
Auto Trait Implementations§
impl Freeze for DefaultUrlFetcher
impl RefUnwindSafe for DefaultUrlFetcher
impl Send for DefaultUrlFetcher
impl Sync for DefaultUrlFetcher
impl Unpin for DefaultUrlFetcher
impl UnwindSafe for DefaultUrlFetcher
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