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