Enum specs::InsertResult [] [src]

pub enum InsertResult<T> {
    Inserted,
    Updated(T),
    EntityIsDead(T),
}

the status of an insert operation

Variants

Inserted

The value was inserted and there was no value before

Updated(T)

The value was updated an already inserted value the value returned is the old value

EntityIsDead(T)

The value failed to insert because the entity was invalid