pub struct MapFetchEngine {
pub map: HashMap<String, Vec<u8>>,
}
Fields§
§map: HashMap<String, Vec<u8>>
Implementations§
Trait Implementations§
Source§impl Clone for MapFetchEngine
impl Clone for MapFetchEngine
Source§fn clone(&self) -> MapFetchEngine
fn clone(&self) -> MapFetchEngine
Returns a duplicate 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 Default for MapFetchEngine
impl Default for MapFetchEngine
Source§fn default() -> MapFetchEngine
fn default() -> MapFetchEngine
Returns the “default value” for a type. Read more
Source§impl FetchEngine for MapFetchEngine
impl FetchEngine for MapFetchEngine
fn fetch( &mut self, path: &str, ) -> Result<Box<dyn FetchProcessReader>, FetchStatus>
fn cancel(&mut self, reader: Box<dyn FetchProcessReader>)
Auto Trait Implementations§
impl Freeze for MapFetchEngine
impl RefUnwindSafe for MapFetchEngine
impl Send for MapFetchEngine
impl Sync for MapFetchEngine
impl Unpin for MapFetchEngine
impl UnwindSafe for MapFetchEngine
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> TryDefault for Twhere
T: Default,
impl<T> TryDefault for Twhere
T: Default,
Source§fn try_default() -> Result<T, String>
fn try_default() -> Result<T, String>
Tries to create the default.
Source§fn unwrap_default() -> Self
fn unwrap_default() -> Self
Calls
try_default
and panics on an error case.