pub struct MemoryFetcher { /* private fields */ }Expand description
An in-memory Fetcher keyed by registry-relative path.
Built via MemoryFetcher::new with the registry root URL, then
populated with MemoryFetcher::with. Missing paths surface as
Error::NotFound.
Implementations§
Trait Implementations§
Source§impl Clone for MemoryFetcher
impl Clone for MemoryFetcher
Source§fn clone(&self) -> MemoryFetcher
fn clone(&self) -> MemoryFetcher
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MemoryFetcher
impl Default for MemoryFetcher
Source§fn default() -> MemoryFetcher
fn default() -> MemoryFetcher
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MemoryFetcher
impl RefUnwindSafe for MemoryFetcher
impl Send for MemoryFetcher
impl Sync for MemoryFetcher
impl Unpin for MemoryFetcher
impl UnsafeUnpin for MemoryFetcher
impl UnwindSafe for MemoryFetcher
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