pub struct SseBatch {
pub events: Vec<RecordedSseEvent>,
pub lines: Vec<SseLine>,
}Expand description
Parsed events and source lines consumed by a recording operation.
Fields§
§events: Vec<RecordedSseEvent>Events emitted in order, with their completion offsets.
lines: Vec<SseLine>Source lines in order, including non-dispatching lines.
Trait Implementations§
Auto Trait Implementations§
impl Forget for SseBatch
impl Freeze for SseBatchwhere
*const u8 is !null: Freeze,
PhantomData<RecordedSseEvent>: Freeze,
PhantomData<SseLine>: Freeze,
impl Move for SseBatch
impl RefUnwindSafe for SseBatchwhere
String: RefUnwindSafe,
impl Send for SseBatch
impl Sync for SseBatch
impl Unpin for SseBatch
impl UnsafeUnpin for SseBatchwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<RecordedSseEvent>: UnsafeUnpin,
PhantomData<SseLine>: UnsafeUnpin,
impl UnwindSafe for SseBatch
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