Enum cargo::util::Freshness [] [src]

pub enum Freshness {
    Fresh,
    Dirty,
}

Indication of the freshness of a package.

A fresh package does not necessarily need to be rebuilt (unless a dependency was also rebuilt), and a dirty package must always be rebuilt.

Variants

Fresh
Dirty

Methods

impl Freshness

fn combine(&self, other: Freshness) -> Freshness

Trait Implementations

Derived Implementations

impl Copy for Freshness

impl Clone for Freshness

fn clone(&self) -> Freshness

fn clone_from(&mut self, source: &Self)

impl Debug for Freshness

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Eq for Freshness

impl PartialEq for Freshness

fn eq(&self, __arg_0: &Freshness) -> bool

fn ne(&self, __arg_0: &Freshness) -> bool