pub struct ActiveExecutionInfo {
pub execution_id: Uuid,
pub tool_name: String,
pub started_at: Instant,
pub timeout_duration: Duration,
pub elapsed: Duration,
pub cancellation_token: CancellationToken,
pub cancelled: bool,
}Expand description
Information about an active tool execution
Fields§
§execution_id: UuidUnique execution identifier
tool_name: StringTool name being executed
started_at: InstantWhen execution started
timeout_duration: DurationConfigured timeout duration
elapsed: DurationHow long execution has been running
cancellation_token: CancellationTokenCancellation token for this execution
cancelled: boolWhether execution has been cancelled
Trait Implementations§
Source§impl Clone for ActiveExecutionInfo
impl Clone for ActiveExecutionInfo
Source§fn clone(&self) -> ActiveExecutionInfo
fn clone(&self) -> ActiveExecutionInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ActiveExecutionInfo
impl RefUnwindSafe for ActiveExecutionInfo
impl Send for ActiveExecutionInfo
impl Sync for ActiveExecutionInfo
impl Unpin for ActiveExecutionInfo
impl UnwindSafe for ActiveExecutionInfo
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