pub enum TaskEvent {
Started {
task: TaskInfo,
},
Updated {
task: TaskInfo,
},
Progress {
task_id: String,
skipped_bytes: u64,
appended: String,
from_byte: u64,
next_byte: u64,
},
Finished {
task: TaskInfo,
},
}Expand description
What a session’s tasks report as they run
(SessionState::subscribe_tasks in session-state).
Variants§
Started
Updated
Progress
What a streamed task printed since the last one: bytes
from_byte..next_byte of everything it ever printed, after
skipped_bytes that did not fit in one frame.
Finished
Trait Implementations§
impl StructuralPartialEq for TaskEvent
Auto Trait Implementations§
impl Forget for TaskEvent
impl Freeze for TaskEvent
impl Move for TaskEvent
impl RefUnwindSafe for TaskEvent
impl Send for TaskEvent
impl Sync for TaskEvent
impl Unpin for TaskEvent
impl UnsafeUnpin for TaskEvent
impl UnwindSafe for TaskEvent
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