pub struct MemoryResolver {
pub files: HashMap<String, String>,
}Expand description
An in-memory resolver for tests and dry-run snapshots. Keys: the file path as-is,
registry — "<path>@v<version>" (exact match, no ranges).
Fields§
§files: HashMap<String, String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemoryResolver
impl RefUnwindSafe for MemoryResolver
impl Send for MemoryResolver
impl Sync for MemoryResolver
impl Unpin for MemoryResolver
impl UnsafeUnpin for MemoryResolver
impl UnwindSafe for MemoryResolver
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