Enum mentat::vocabulary::VocabularyOutcome [] [src]

pub enum VocabularyOutcome {
    Installed,
    InstalledMissingAttributes,
    Existed,
    Upgraded,
}

This enum captures the outcome of attempting to ensure that a vocabulary definition is present and up-to-date in the store.

Variants

The vocabulary was absent and has been installed.

The vocabulary was present with this version, but some attributes were absent. They have been installed.

The vocabulary was present, at the correct version, and all attributes were present.

The vocabulary was present, at an older version, and it has been upgraded. Any missing attributes were installed.

Trait Implementations

impl Debug for VocabularyOutcome
[src]

Formats the value using the given formatter. Read more

impl Eq for VocabularyOutcome
[src]

impl PartialEq for VocabularyOutcome
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for VocabularyOutcome

impl Sync for VocabularyOutcome