pub struct AgentServer {
pub socket_addr: SocketAddr,
pub providers: Arc<Box<dyn CompletionProvider>>,
}Expand description
Main agent server type, responsible for handling requests and managing tools/providers.
Fields§
§socket_addr: SocketAddr§providers: Arc<Box<dyn CompletionProvider>>Implementations§
Trait Implementations§
Source§impl Clone for AgentServer
impl Clone for AgentServer
Source§fn clone(&self) -> AgentServer
fn clone(&self) -> AgentServer
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 AgentServer
impl !RefUnwindSafe for AgentServer
impl Send for AgentServer
impl Sync for AgentServer
impl Unpin for AgentServer
impl UnsafeUnpin for AgentServer
impl !UnwindSafe for AgentServer
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