0.2.0 Preview 1 · 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. Reference extracted from this release’s bundled standard library. Public API examples are not an exhaustive compatibility test. Read the matching release guide for tested workflows and limitations. 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 ↗