pub enum SdkEvent {
Message(String),
ToolUse(String),
ToolResult {
id: String,
result: String,
},
Error(String),
}Expand description
An SDK event
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SdkEvent
impl RefUnwindSafe for SdkEvent
impl Send for SdkEvent
impl Sync for SdkEvent
impl Unpin for SdkEvent
impl UnsafeUnpin for SdkEvent
impl UnwindSafe for SdkEvent
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