pub struct AcceptedLocalWorkspaceProcessAdmission { /* private fields */ }Expand description
Explicit admission for the process runner used by the local workspace lane.
This value is intentionally small and declarative. It records that the caller has selected Merry’s local-workspace process profile and accepted the process risk for that profile; it is not proof that any process is actually confined. A host adapter may materialize this profile with a platform-native mechanism, or report that isolation is unavailable. Runtime code treats it as construction-time admission for the configured process runner boundary; argv classification remains a risk signal rather than an executable allowlist.
Implementations§
Source§impl AcceptedLocalWorkspaceProcessAdmission
impl AcceptedLocalWorkspaceProcessAdmission
Sourcepub const fn accept_local_workspace() -> Self
pub const fn accept_local_workspace() -> Self
Creates admission for the local workspace process profile.
Calling this explicitly accepts validated process intents for the declared profile. The selected runner still enforces filesystem, network, and host-integration capabilities.
Sourcepub const fn accept_host() -> Self
pub const fn accept_host() -> Self
Creates admission for the explicit unrestricted host process profile.
The runtime still records and audits the process action, but the host process backend does not add an operating-system sandbox in this mode. Review policy remains a separate runtime setting; host admission does not imply fully trusted execution.
Sourcepub const fn sandbox_profile(self) -> LocalWorkspaceProcessSandboxProfile
pub const fn sandbox_profile(self) -> LocalWorkspaceProcessSandboxProfile
Returns the declared sandbox profile for this admission.
Sourcepub const fn permission_profile_id(self) -> ProcessPermissionProfileId
pub const fn permission_profile_id(self) -> ProcessPermissionProfileId
Returns the permission profile admitted by this construction-time grant.
Trait Implementations§
impl Copy for AcceptedLocalWorkspaceProcessAdmission
impl Eq for AcceptedLocalWorkspaceProcessAdmission
impl StructuralPartialEq for AcceptedLocalWorkspaceProcessAdmission
Auto Trait Implementations§
impl Forget for AcceptedLocalWorkspaceProcessAdmission
impl Freeze for AcceptedLocalWorkspaceProcessAdmission
impl Move for AcceptedLocalWorkspaceProcessAdmission
impl RefUnwindSafe for AcceptedLocalWorkspaceProcessAdmission
impl Send for AcceptedLocalWorkspaceProcessAdmission
impl Sync for AcceptedLocalWorkspaceProcessAdmission
impl Unpin for AcceptedLocalWorkspaceProcessAdmission
impl UnsafeUnpin for AcceptedLocalWorkspaceProcessAdmissionwhere
&'static str: UnsafeUnpin,
impl UnwindSafe for AcceptedLocalWorkspaceProcessAdmissionwhere
&'static str: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.