pub struct AgentEnvironment {
pub drivers: DriverRegistry,
pub listeners: Vec<Arc<dyn EventListener>>,
pub extensions: Extensions,
}Expand description
Host resources used to execute an AgentDefinition.
Fields§
§drivers: DriverRegistryProvider implementations available to the host.
listeners: Vec<Arc<dyn EventListener>>Observers of durable and ephemeral events.
extensions: ExtensionsTyped services made available to tools.
Trait Implementations§
Source§impl Clone for AgentEnvironment
impl Clone for AgentEnvironment
Auto Trait Implementations§
impl !RefUnwindSafe for AgentEnvironment
impl !UnwindSafe for AgentEnvironment
impl Freeze for AgentEnvironment
impl Send for AgentEnvironment
impl Sync for AgentEnvironment
impl Unpin for AgentEnvironment
impl UnsafeUnpin for AgentEnvironment
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