Under heavy development. This site describes the intended 1.0 language. Current features and performance vary. Development status
Sn50SnThe SnAPI programming language
Snapshot · Oct 24, 2026 · Frozen documentation

FilePosixAclWork

Captures worker arguments without I/O or allocation.

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.fs

import std.fs;

Public declaration contracts and authored examples. A page can document several related symbols. Implementation bodies are excluded.

Create

pub static fn Create(Token: usize, Scope: PosixAclScope) -> FileReadPosixAclWork

Captures worker arguments without I/O or allocation. Token: Held-object authority; receiver remains live through completion. Scope: Explicit policy domain. Return: Independent copied worker arguments without scheduling or I/O.

Invoke

pub readonly fn Invoke() -> Result<Vector<PosixAclEntry>?, IoError>

Executes the entire validation/encoding/native composition on the worker. Return: Exact portable result; no post-commit cancellation substitution.

pub init(Token: usize, Entries: readonly PosixAclEntry[], Scope: PosixAclScope)

pub init(Token: usize, Entries: readonly PosixAclEntry[], Scope: PosixAclScope)

Captures worker arguments without I/O or allocation. Token: Held-object authority; receiver remains live through completion. Entries: Borrowed entries retained through completion. Scope: Explicit policy domain.

Invoke

pub readonly fn Invoke() -> Result<void, IoError>

Executes the entire validation/encoding/native composition on the worker. Return: Exact portable result; no post-commit cancellation substitution.

Create

pub static fn Create(Token: usize, Scope: PosixAclScope) -> FileRemovePosixAclWork

Captures worker arguments without I/O or allocation. Token: Held-object authority; receiver remains live through completion. Scope: Explicit policy domain. Return: Independent copied worker arguments without scheduling or I/O.

Invoke

pub readonly fn Invoke() -> Result<void, IoError>

Executes the entire validation/encoding/native composition on the worker. Return: Exact portable result; no post-commit cancellation substitution.

Documentation snapshot: October 24, 2026 About versions ↗
Searching Development · language & standard library