pub struct GoEnvCache(/* private fields */);Expand description
Per-$GOENV-file-path memoization, mirroring deps_npm::config::NpmConfigCache exactly in
shape.
Caches raw, unvalidated entries — GoProxyUrl::new validation and policy gating
re-run per parse against these cached entries, never cached themselves, so a
didChangeConfiguration policy change takes effect immediately with no cache invalidation
of its own. A thin newtype over deps_core::MtimeFileCache.
Implementations§
Source§impl GoEnvCache
impl GoEnvCache
Trait Implementations§
Source§impl Debug for GoEnvCache
impl Debug for GoEnvCache
Auto Trait Implementations§
impl !RefUnwindSafe for GoEnvCache
impl Freeze for GoEnvCache
impl Send for GoEnvCache
impl Sync for GoEnvCache
impl Unpin for GoEnvCache
impl UnsafeUnpin for GoEnvCache
impl UnwindSafe for GoEnvCache
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