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<FetchProcess>, FetchStatus>
fn cancel(&mut self, reader: FetchProcess)
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