pub struct QueryEngine { /* private fields */ }Expand description
QueryEngine - owns the query lifecycle and session state
Implementations§
Source§impl QueryEngine
impl QueryEngine
pub fn new(config: QueryEngineConfig) -> Self
pub fn interrupt(&mut self)
pub fn get_messages(&self) -> &Vec<Message>
pub fn get_read_file_state(&self) -> &FileStateCache
pub fn get_session_id(&self) -> String
pub fn set_model(&mut self, model: String)
Auto Trait Implementations§
impl Freeze for QueryEngine
impl RefUnwindSafe for QueryEngine
impl Send for QueryEngine
impl Sync for QueryEngine
impl Unpin for QueryEngine
impl UnsafeUnpin for QueryEngine
impl UnwindSafe for QueryEngine
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