Struct specs::error::WrongGeneration [−][src]
pub struct WrongGeneration { pub action: &'static str, pub actual_gen: Generation, pub entity: Entity, }
Expand description
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
Performs the conversion.
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 RefUnwindSafe for WrongGeneration
impl Send for WrongGeneration
impl Sync for WrongGeneration
impl Unpin for WrongGeneration
impl UnwindSafe for WrongGeneration