pub struct SupervisorLoopControlGrant { /* private fields */ }Expand description
Host-only, separate opt-in. The live runtime binds this template to the actual target lifetime and both execution identities after taking its lease. No model argument creates this value, installs it, or renews it.
Implementations§
Source§impl SupervisorLoopControlGrant
impl SupervisorLoopControlGrant
pub fn new( supervisor: SupervisorReference, supervisor_tool_authority_revision: u64, link_revision: u64, allowed_actions: impl IntoIterator<Item = LoopControlAction>, max_iterations: u32, max_total_rounds: u32, ) -> Result<Self, AgentError>
pub fn grant_id(&self) -> Uuid
Trait Implementations§
Source§impl Clone for SupervisorLoopControlGrant
impl Clone for SupervisorLoopControlGrant
Auto Trait Implementations§
impl Freeze for SupervisorLoopControlGrant
impl RefUnwindSafe for SupervisorLoopControlGrant
impl Send for SupervisorLoopControlGrant
impl Sync for SupervisorLoopControlGrant
impl Unpin for SupervisorLoopControlGrant
impl UnsafeUnpin for SupervisorLoopControlGrant
impl UnwindSafe for SupervisorLoopControlGrant
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