PosixOwnershipChange
Owns an explicit partial POSIX numeric ownership change. None preserves an identity; Some(0) is a real native identity. Numeric values are scoped to the target host, with no name lookup or implicit current-user substitution. Values unrepresentable by the native ID or equal to its reserved sentinel are rejected before changing anything. Changes may clear special mode bits according to POSIX; this is not an ACL replacement or transaction. This value allocates nothing; shared mutation needs synchronization.
Module std.fs
import std.fs;Public declaration contracts and authored examples. A page can document several related symbols. Implementation bodies are excluded.
PosixOwnershipChange
pub struct PosixOwnershipChangeOwns an explicit partial POSIX numeric ownership change. None preserves an identity; Some(0) is a real native identity. Numeric values are scoped to the target host, with no name lookup or implicit current-user substitution. Values unrepresentable by the native ID or equal to its reserved sentinel are rejected before changing anything. Changes may clear special mode bits according to POSIX; this is not an ACL replacement or transaction. This value allocates nothing; shared mutation needs synchronization.
PosixOwnershipChange.UserId
pub UserId: u64?;New user ID, or none to preserve it.
PosixOwnershipChange.GroupId
pub GroupId: u64?;New group ID, or none to preserve it.