pub struct SandboxAcknowledgement(/* private fields */);Expand description
Proof that the caller knows what
OrchestrationMode::SandboxedAutonomous gives up.
The type has no public field and no Default, so the variant cannot be
written as a struct literal from another crate; the only way in is
Self::i_accept_unreviewed_autonomous_writes, which logs a warning. On the
wire it is the literal string SANDBOX_ACKNOWLEDGEMENT, so a TOML or JSON
configuration has to spell the sentence out too.
Implementations§
Source§impl SandboxAcknowledgement
impl SandboxAcknowledgement
Sourcepub fn i_accept_unreviewed_autonomous_writes() -> Self
pub fn i_accept_unreviewed_autonomous_writes() -> Self
Acknowledges that sandboxed autonomy lets the model drive writes that no
human reviewed, and emits a WARN on the turnframe.config target.
Use it only for reversible, non-regulated domains. Even then
OrchestrationMode::allows_risk keeps refusing the destructive,
irreversible and externally regulated classes (§11.4).
Trait Implementations§
Source§impl Clone for SandboxAcknowledgement
impl Clone for SandboxAcknowledgement
impl Copy for SandboxAcknowledgement
Source§impl Debug for SandboxAcknowledgement
impl Debug for SandboxAcknowledgement
Source§impl<'de> Deserialize<'de> for SandboxAcknowledgement
impl<'de> Deserialize<'de> for SandboxAcknowledgement
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SandboxAcknowledgement
Source§impl Hash for SandboxAcknowledgement
impl Hash for SandboxAcknowledgement
Source§impl PartialEq for SandboxAcknowledgement
impl PartialEq for SandboxAcknowledgement
Source§impl Serialize for SandboxAcknowledgement
impl Serialize for SandboxAcknowledgement
impl StructuralPartialEq for SandboxAcknowledgement
Auto Trait Implementations§
impl Freeze for SandboxAcknowledgement
impl RefUnwindSafe for SandboxAcknowledgement
impl Send for SandboxAcknowledgement
impl Sync for SandboxAcknowledgement
impl Unpin for SandboxAcknowledgement
impl UnsafeUnpin for SandboxAcknowledgement
impl UnwindSafe for SandboxAcknowledgement
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
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compare self to
key and return true if they are equal.