Struct parking_lot::OnceState[][src]

pub struct OnceState(_);
Expand description

State yielded to the call_once_force method which can be used to query whether the Once was previously poisoned or not.

Implementations

Returns whether the associated Once has been poisoned.

Once an initalization routine for a Once has panicked it will forever indicate to future forced initialization routines that it is poisoned.

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.

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.