Struct llm_api_adapter::client::ChatSession
source · pub struct ChatSession<'a> { /* private fields */ }
Expand description
Represents an ongoing chat session with the Anthropic API.
The lifetime parameter 'a
indicates that the ChatSession
borrows data from an AnthropicClient
instance and can only live as long as the AnthropicClient
instance.
Implementations§
source§impl<'a> ChatSession<'a>
impl<'a> ChatSession<'a>
Auto Trait Implementations§
impl<'a> Freeze for ChatSession<'a>
impl<'a> !RefUnwindSafe for ChatSession<'a>
impl<'a> Send for ChatSession<'a>
impl<'a> Sync for ChatSession<'a>
impl<'a> Unpin for ChatSession<'a>
impl<'a> !UnwindSafe for ChatSession<'a>
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