pub enum AcpEvent {
SessionUpdate(Box<UpdateSessionNotification>),
ContextCleared(ContextClearedParams),
SubAgentProgress(SubAgentProgressParams),
AuthMethodsUpdated(AuthMethodsUpdatedParams),
McpNotification(McpNotification),
GitDiffEvent(GitDiffEventPayload),
ElicitationRequest {
params: Box<CreateElicitationRequest>,
responder: Responder<CreateElicitationResponse>,
},
ConnectionClosed,
}Expand description
Events forwarded from the ACP connection to the main event loop.
Variants§
SessionUpdate(Box<UpdateSessionNotification>)
ContextCleared(ContextClearedParams)
SubAgentProgress(SubAgentProgressParams)
AuthMethodsUpdated(AuthMethodsUpdatedParams)
McpNotification(McpNotification)
GitDiffEvent(GitDiffEventPayload)
ElicitationRequest
ConnectionClosed
Trait Implementations§
Source§impl From<UpdateSessionNotification> for AcpEvent
impl From<UpdateSessionNotification> for AcpEvent
Source§fn from(notification: UpdateSessionNotification) -> Self
fn from(notification: UpdateSessionNotification) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for AcpEvent
impl !Sync for AcpEvent
impl !UnwindSafe for AcpEvent
impl Freeze for AcpEvent
impl Send for AcpEvent
impl Unpin for AcpEvent
impl UnsafeUnpin for AcpEvent
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.