Enum conquer_once::TryInitError
source · [−]pub enum TryInitError {
AlreadyInit,
WouldBlock,
}
Expand description
Possible error variants of non-blocking initialization calls.
Variants
AlreadyInit
The OnceCell
is already initialized and the initialization procedure
was not called.
WouldBlock
The OnceCell
is currently being initialized by another thread and
the current thread would have to block.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more