pub enum PatchSource {
Operator,
Inbox,
}Expand description
Where a runtime config-change patch came from.
The control inbox (<mission>/control/*.json) is an unauthenticated
filesystem channel: the only authorization is the ability to create a
file, which under the default sandbox.enforce: off posture every worker
session has. A patch that arrives that way must never be able to carry
the consent-bearing keys a human is supposed to decide — the resulting
config.changed event is otherwise indistinguishable from an operator’s.
Variants§
Operator
A human-driven surface: the CLI, the mutation-token REST route, or an authorized Slack command.
Inbox
The mission’s control inbox, drained by the run loop.
Trait Implementations§
Source§impl Clone for PatchSource
impl Clone for PatchSource
Source§fn clone(&self) -> PatchSource
fn clone(&self) -> PatchSource
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 moreimpl Copy for PatchSource
Source§impl Debug for PatchSource
impl Debug for PatchSource
impl Eq for PatchSource
Source§impl PartialEq for PatchSource
impl PartialEq for PatchSource
impl StructuralPartialEq for PatchSource
Auto Trait Implementations§
impl Freeze for PatchSource
impl RefUnwindSafe for PatchSource
impl Send for PatchSource
impl Sync for PatchSource
impl Unpin for PatchSource
impl UnsafeUnpin for PatchSource
impl UnwindSafe for PatchSource
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