Enum actions::MergeResult[][src]

pub enum MergeResult<Action: Merge> {
    Unmergable,
    Merged(Action),
    CancelsOut,
    Overwrites,
}

The result of merging two actions.

Variants

The actions are not mergable into one action.

The actions are merged into one action.

The action cancels out the effect of the previous action.

The action fully overwrites the previous action. In this case, it does not matter how the previous action influenced the state.

Auto Trait Implementations

impl<Action> Send for MergeResult<Action> where
    Action: Send

impl<Action> Sync for MergeResult<Action> where
    Action: Sync