Struct specs::error::WrongGeneration
[−]
[src]
pub struct WrongGeneration { pub action: &'static str, pub actual_gen: Generation, pub entity: Entity, }
Wrong generation error.
Fields
action: &'static str
The action that failed because of the wrong generation.
actual_gen: Generation
The actual generation of this id.
entity: Entity
The entity that has been passed, containing the id and the invalid generation.
Trait Implementations
impl Debug for WrongGeneration
[src]
impl Display for WrongGeneration
[src]
fn fmt(&self, f: &mut Formatter) -> FmtResult
[src]
Formats the value using the given formatter. Read more