Enum crystalorb::client::stage::Stage[][src]

pub enum Stage<'a, WorldType: World> {
    SyncingClock(SyncingClock<&'a ClockSyncer>),
    SyncingInitialState(SyncingInitialState<WorldType, &'a ActiveClient<WorldType>>),
    Ready(Ready<WorldType, &'a ActiveClient<WorldType>>),
}
Expand description

This is the immutable view of the client’s stage that is returned by Client::stage.

See Client::stage_mut and StageMut for mutable access.

See the module-level documentation for more information.

Variants

SyncingClock(SyncingClock<&'a ClockSyncer>)

The first stage.

See the relevant section in the module-level documentation for more info.

SyncingInitialState(SyncingInitialState<WorldType, &'a ActiveClient<WorldType>>)

The second stage.

See the relevant section in the module-level documentation for more info.

Ready(Ready<WorldType, &'a ActiveClient<WorldType>>)

The third stage.

See the relevant section in the module-level documentation for more info.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.