pub enum RawResponse {
Buffered(Value),
Stream(RawEventStream),
}Expand description
The wire result of
call_rewrite_model_raw:
a buffered JSON body, or a live stream of wire events — both already in the
requested wire format.
Variants§
Buffered(Value)
A complete JSON response body.
Stream(RawEventStream)
A live stream of wire-format event objects, ready for SSE framing.
Auto Trait Implementations§
impl !RefUnwindSafe for RawResponse
impl !Sync for RawResponse
impl !UnwindSafe for RawResponse
impl Freeze for RawResponse
impl Send for RawResponse
impl Unpin for RawResponse
impl UnsafeUnpin for RawResponse
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