Snapshot · Oct 24, 2026 · Frozen documentation
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.
pub Reason: AsyncMutexError;
pub Reason: AsyncMutexError;Exact allocation/permit setup reason.
pub Value: T;
pub Value: T;Owned uninserted input.
pub init(Reason: AsyncMutexError, mut Value: T)
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 ↗