pub enum BridgeEvent {
TextChunk {
text: String,
},
ToolUse {
name: String,
},
PermissionRequest {
tool: ToolCallInfo,
options: Vec<PermissionOption>,
reply: Sender<PermissionOutcome>,
},
SessionCreated {
session_id: String,
},
PromptDone {
stop_reason: String,
},
Error {
message: String,
},
AgentExited {
code: Option<i32>,
},
}Variants§
Auto Trait Implementations§
impl Freeze for BridgeEvent
impl !RefUnwindSafe for BridgeEvent
impl Send for BridgeEvent
impl Sync for BridgeEvent
impl Unpin for BridgeEvent
impl UnsafeUnpin for BridgeEvent
impl !UnwindSafe for BridgeEvent
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