pub enum LogEvent {
History(Vec<LogChunk>),
Chunk(LogChunk),
Done,
}Expand description
A decoded SSE event from the job log stream.
Variants§
History(Vec<LogChunk>)
Replay of prior chunks, sent once on connect.
Chunk(LogChunk)
A live chunk.
Done
Terminal: the job reached a terminal state; the stream is finished.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogEvent
impl RefUnwindSafe for LogEvent
impl Send for LogEvent
impl Sync for LogEvent
impl Unpin for LogEvent
impl UnsafeUnpin for LogEvent
impl UnwindSafe for LogEvent
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