pub enum RawToolEvent {
Content {
data: Vec<u8>,
mime_type: Option<String>,
metadata: Vec<(String, Vec<u8>)>,
},
Error {
kind: String,
message: String,
default_language: String,
},
}Expand description
Raw tool event before conversion to WIT types. Used internally by ActContext; the generated code converts to WIT ToolEvent.
Variants§
Auto Trait Implementations§
impl Freeze for RawToolEvent
impl RefUnwindSafe for RawToolEvent
impl Send for RawToolEvent
impl Sync for RawToolEvent
impl Unpin for RawToolEvent
impl UnsafeUnpin for RawToolEvent
impl UnwindSafe for RawToolEvent
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