Skip to main content

PurgeGoal

Trait PurgeGoal 

Source
pub trait PurgeGoal: ExclusiveOption { }
Expand description

Marker for a selected purge goal: one of PurgeAllMode, FreeSpaceMode, RevisionCountMode, or SizeMode.

Exactly one of -a / -f / -m / -s is required, so the command can only be assembled and spawned once CachePurge has transitioned into one of these states.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§