pub struct LogChunk {
pub text: String,
pub steps: Vec<LogStepMeta>,
pub next_offset: u64,
pub done: bool,
}Expand description
An incremental slice of a job log. next_offset is where the next poll
resumes; done is set once the job has finished and the log is complete.
steps carries the job’s step boundaries when the provider exposes them
(empty otherwise). This unifies streaming, polling, and one-shot-dump sources.
Fields§
§text: String§steps: Vec<LogStepMeta>§next_offset: u64§done: boolTrait Implementations§
impl Eq for LogChunk
impl StructuralPartialEq for LogChunk
Auto Trait Implementations§
impl Forget for LogChunk
impl Freeze for LogChunk
impl RefUnwindSafe for LogChunk
impl Send for LogChunk
impl Sync for LogChunk
impl Unpin for LogChunk
impl UnsafeUnpin for LogChunk
impl UnwindSafe for LogChunk
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.