DirectoryBlockingWork
Captures borrowed path backing and copied selection arguments.
Module std.fs
import std.fs;Public declaration contracts and authored examples. A page can document several related symbols. Implementation bodies are excluded.
pub init(Path: PathView, Links: LinkPolicy)
pub init(Path: PathView, Links: LinkPolicy)Captures borrowed path backing and copied selection arguments. Path: View loaned through worker completion. Links: Copied final-component selection policy.
Invoke
pub readonly fn Invoke() -> Result<usize, IoError>Runs exactly one safe platform step inside bounded worker admission. Return: Exact native result, never overridden by later cancellation.
Create
pub static fn Create(Token: usize) -> DirectoryReadWorkCreates copied handoff arguments without scheduling or I/O. Token: Authenticated held-object token borrowed through the parent task. Return: Independent Data arguments; the parent retains the original token owner.
Invoke
pub readonly fn Invoke() -> Result<DirectoryEntry?, IoError>Runs exactly one safe platform step inside bounded worker admission. Return: Exact native result, never overridden by later cancellation.
Create
pub static fn Create(Token: usize) -> DirectoryCloseWorkCreates copied handoff arguments without scheduling or I/O. Token: Authenticated held-object token borrowed through the parent task. Return: Independent Data arguments; the parent retains the original token owner.
Invoke
pub readonly fn Invoke() -> Result<void, IoError>Runs exactly one safe platform step inside bounded worker admission. Return: Exact native result, never overridden by later cancellation.