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

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

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

See Client::stage and Stage for immutable, shareable access.

See the module-level documentation for more information.

Variants

SyncingClock(SyncingClock<&'a mut ClockSyncer>)

The first stage.

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

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

The second stage.

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

Ready(Ready<WorldType, &'a mut 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.