Struct specs::error::WrongGeneration [] [src]

pub struct WrongGeneration {
    pub action: &'static str,
    pub actual_gen: Generation,
    pub entity: Entity,
}

Wrong generation error.

Fields

The action that failed because of the wrong generation.

The actual generation of this id.

The entity that has been passed, containing the id and the invalid generation.

Trait Implementations

impl Debug for WrongGeneration
[src]

[src]

Formats the value using the given formatter.

impl Display for WrongGeneration
[src]

[src]

Formats the value using the given formatter. Read more

impl StdError for WrongGeneration
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more