pub struct NativeProjection { /* private fields */ }Expand description
The projection of one session’s events, with what it must remember between them: OpenCode streams reasoning and
text alike as message.part.delta with field: "text" (its processor, reasoning-delta and text-delta), and only
the part an earlier message.part.updated declared tells them apart; and a turn OpenCode failed (session.error)
still goes idle after, which closes it without saying it succeeded.
Implementations§
Trait Implementations§
Source§impl Debug for NativeProjection
impl Debug for NativeProjection
Auto Trait Implementations§
impl Freeze for NativeProjection
impl RefUnwindSafe for NativeProjection
impl Send for NativeProjection
impl Sync for NativeProjection
impl Unpin for NativeProjection
impl UnsafeUnpin for NativeProjection
impl UnwindSafe for NativeProjection
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