pub trait InstanceCache {
// Required method
fn clear_cache(&self) -> impl Future<Output = ()> + Send;
}Expand description
Cache invalidation surface for a launcher instance.
Required Methods§
Sourcefn clear_cache(&self) -> impl Future<Output = ()> + Send
fn clear_cache(&self) -> impl Future<Output = ()> + Send
Invalidates the loader manifest cache plus the Modrinth and
CurseForge mod caches scoped to (minecraft_version, loader).
Idempotent.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.