Skip to main content

ActorId

Type Alias ActorId 

Source
pub type ActorId = Id<ActorIdMarker>;
Expand description

The identity of an actor (a principal) that performs Engine operations.

The Engine treats actor IDs as opaque references. The OS decides what an actor is (a user, a group, a service) and maps them onto its own model.

The OS layers have a load-bearing convention on top: on Unix the actor id is the effective user id (uid == actor id, so ownership resolves without a database lookup), and on Windows it is the account’s RID. The convention lives in the OS layer; the Engine itself never assumes it.

Aliased Type§

pub struct ActorId { /* private fields */ }