struct AtomicState {
    inner: AtomicUsize,
}
Expand description

Stores the ReadinessNode state in an AtomicUsize. This wrapper around the atomic variable handles encoding / decoding ReadinessState values.

Fields

inner: AtomicUsize

Implementations

Loads the current ReadinessState

Stores a state if the current state is the same as current.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.