pub struct CompilerSelection {
pub max_age: Option<Duration>,
pub release: Option<String>,
}Expand description
Which compiler versions’ cached results a pass removes.
Fields§
§max_age: Option<Duration>Remove versions unused for this long, always keeping the newest.
release: Option<String>Remove every result of this compiler, however recently it was used.
Matches the release a compiler reports, such as 1.97.1 or
1.99.0-nightly, or the whole version line, such as
1.99.0-nightly (abc123def 2026-09-01), which tells two nightlies of
one release apart. Unlike max_age, nothing is exempt: naming the
newest version removes it.
Trait Implementations§
Source§impl Clone for CompilerSelection
impl Clone for CompilerSelection
Source§impl Debug for CompilerSelection
impl Debug for CompilerSelection
Auto Trait Implementations§
impl Freeze for CompilerSelection
impl RefUnwindSafe for CompilerSelection
impl Send for CompilerSelection
impl Sync for CompilerSelection
impl Unpin for CompilerSelection
impl UnsafeUnpin for CompilerSelection
impl UnwindSafe for CompilerSelection
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