pub struct RemoteVpcPlane { /* private fields */ }Expand description
ExecutionPlane that forwards tool calls over HTTP to a worker inside a customer VPC.
Credentials are fetched from a CredentialVault at call time and injected into the
Authorization header — they are never forwarded to the model or stored in the session log.
Local tools registered via register() run in-process and take priority over any remote
schema with the same name.
Implementations§
Source§impl RemoteVpcPlane
impl RemoteVpcPlane
pub fn new(opts: RemoteVpcOptions) -> Self
Sourcepub fn register(&mut self, tool: RegisteredTool) -> &mut Self
pub fn register(&mut self, tool: RegisteredTool) -> &mut Self
Register an in-process tool. Local tools take priority over remote schemas of the same name.
pub fn unregister(&mut self, name: &str) -> &mut Self
Trait Implementations§
Source§impl ExecutionPlane for RemoteVpcPlane
impl ExecutionPlane for RemoteVpcPlane
Auto Trait Implementations§
impl !RefUnwindSafe for RemoteVpcPlane
impl !UnwindSafe for RemoteVpcPlane
impl Freeze for RemoteVpcPlane
impl Send for RemoteVpcPlane
impl Sync for RemoteVpcPlane
impl Unpin for RemoteVpcPlane
impl UnsafeUnpin for RemoteVpcPlane
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