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 From<WrongGeneration> for Error
[src]

[src]

Performs the conversion.

impl Debug for WrongGeneration
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for WrongGeneration
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for WrongGeneration
[src]

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

Auto Trait Implementations