pub struct RunnerWorkspaceExecutionLeaseRequest {
pub execution_id: String,
pub acquire_timeout_ms: u64,
pub lease_timeout_ms: Option<u64>,
}Expand description
Bounds for an optional provider-owned lease that serializes one complete workspace tool execution. The runtime supplies a unique id and enforces the acquisition timeout locally; providers should also enforce both bounds at the remote execution boundary so a crashed runtime cannot orphan a lock.
Fields§
§execution_id: String§acquire_timeout_ms: u64§lease_timeout_ms: Option<u64>Maximum lifetime for the acquired remote lease. None means the turn
has no runtime deadline; providers must still choose a finite bound.
Trait Implementations§
impl Eq for RunnerWorkspaceExecutionLeaseRequest
impl StructuralPartialEq for RunnerWorkspaceExecutionLeaseRequest
Auto Trait Implementations§
impl Freeze for RunnerWorkspaceExecutionLeaseRequest
impl RefUnwindSafe for RunnerWorkspaceExecutionLeaseRequest
impl Send for RunnerWorkspaceExecutionLeaseRequest
impl Sync for RunnerWorkspaceExecutionLeaseRequest
impl Unpin for RunnerWorkspaceExecutionLeaseRequest
impl UnsafeUnpin for RunnerWorkspaceExecutionLeaseRequest
impl UnwindSafe for RunnerWorkspaceExecutionLeaseRequest
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
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§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.