pub struct Entitlements {
pub network: NetworkEntitlement,
pub filesystem: FilesystemEntitlement,
pub processes: ProcessesEntitlement,
pub syscalls: SyscallsEntitlement,
pub limits: LimitsEntitlement,
pub llm: LlmEntitlement,
pub fail_closed_on_sandbox_error: bool,
}Fields§
§network: NetworkEntitlement§filesystem: FilesystemEntitlement§processes: ProcessesEntitlement§syscalls: SyscallsEntitlement§limits: LimitsEntitlement§llm: LlmEntitlementLLM call permission. Default = Allowed (back-compat). Bridges set to Off so the supervisor refuses to construct an LLM client.
fail_closed_on_sandbox_error: boolWhen true (the default), a sandbox apply failure is fatal: the agent
refuses to start rather than running advisory-only (unconfined).
Set to false only for development or trusted-workstation agents that
intentionally run without kernel sandbox enforcement.
Trait Implementations§
Source§impl Clone for Entitlements
impl Clone for Entitlements
Source§fn clone(&self) -> Entitlements
fn clone(&self) -> Entitlements
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Entitlements
impl Debug for Entitlements
Source§impl<'de> Deserialize<'de> for Entitlements
impl<'de> Deserialize<'de> for Entitlements
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Entitlements
impl PartialEq for Entitlements
Source§fn eq(&self, other: &Entitlements) -> bool
fn eq(&self, other: &Entitlements) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Entitlements
impl Serialize for Entitlements
impl StructuralPartialEq for Entitlements
Auto Trait Implementations§
impl Freeze for Entitlements
impl RefUnwindSafe for Entitlements
impl Send for Entitlements
impl Sync for Entitlements
impl Unpin for Entitlements
impl UnsafeUnpin for Entitlements
impl UnwindSafe for Entitlements
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
Mutably borrows from an owned value. Read more