LockCreationError
Retains the input that could not acquire lock/payload storage. Destroying this error destroys its input normally. Explicit move transfers it; no extra allocation or native owner survives failed creation.
Module std.sync
import std.sync;Public declaration contracts and authored examples. A page can document several related symbols. Implementation bodies are excluded.
LockCreationError
pub class LockCreationError<T> where T: MovableRetains the input that could not acquire lock/payload storage. Destroying this error destroys its input normally. Explicit move transfers it; no extra allocation or native owner survives failed creation. T: Movable uninserted payload.
LockCreationError.Reason
pub Reason: LockError;Portable failure identity.
LockCreationError.Value
pub Value: T;Owned input available for retry or normal destruction.
LockCreationError.init
pub init(Reason: LockError, mut Value: T)Moves failed input and its reason into the error owner. Reason: Exact portable error. Value: Unconsumed input.