Development · Evolving reference
AsyncMutexCreationError
Owns the input that could not enter retained AsyncMutex storage. Cleanup destroys the input normally; explicit move enables retry without copies.
Sn is under heavy development. This reference includes the intended 1.0 design; features may be incomplete in the current compiler. Read the status →
Module std.sync
import std.sync;Public declaration contracts and authored examples. A page can document several related symbols. Implementation bodies are excluded.
AsyncMutexCreationError
pub class AsyncMutexCreationError<T> where T: MovableOwns the input that could not enter retained AsyncMutex storage. Cleanup destroys the input normally; explicit move enables retry without copies. T: Movable protected payload.
AsyncMutexCreationError.Reason
pub Reason: AsyncMutexError;Exact allocation/permit setup reason.
AsyncMutexCreationError.Value
pub Value: T;Owned uninserted input.
AsyncMutexCreationError.init
pub init(Reason: AsyncMutexError, mut Value: T)Retains failed input with its typed reason. Reason: Portable failure. Value: Owned input.
Documentation snapshot: October 24, 2026 About versions ↗