pub struct AcpSession {
pub session_id: SessionId,
pub agent_name: String,
pub prompt_capabilities: PromptCapabilities,
pub config_options: Vec<SessionConfigOption>,
pub auth_methods: Vec<AuthMethod>,
pub event_rx: UnboundedReceiver<AcpEvent>,
pub prompt_handle: AcpPromptHandle,
}Expand description
ACP session with all handles needed by the caller.
Fields§
§session_id: SessionId§agent_name: String§prompt_capabilities: PromptCapabilities§config_options: Vec<SessionConfigOption>§auth_methods: Vec<AuthMethod>§event_rx: UnboundedReceiver<AcpEvent>§prompt_handle: AcpPromptHandleAuto Trait Implementations§
impl Freeze for AcpSession
impl RefUnwindSafe for AcpSession
impl Send for AcpSession
impl Sync for AcpSession
impl Unpin for AcpSession
impl UnsafeUnpin for AcpSession
impl UnwindSafe for AcpSession
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