pub struct LeanWorkerProgressEvent {
pub phase: String,
pub current: u64,
pub total: Option<u64>,
pub elapsed: Duration,
}Expand description
One progress event observed by the parent from a worker request.
Fields§
§phase: String§current: u64§total: Option<u64>§elapsed: DurationTrait Implementations§
Source§impl Clone for LeanWorkerProgressEvent
impl Clone for LeanWorkerProgressEvent
Source§fn clone(&self) -> LeanWorkerProgressEvent
fn clone(&self) -> LeanWorkerProgressEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LeanWorkerProgressEvent
impl Debug for LeanWorkerProgressEvent
Source§impl PartialEq for LeanWorkerProgressEvent
impl PartialEq for LeanWorkerProgressEvent
Source§fn eq(&self, other: &LeanWorkerProgressEvent) -> bool
fn eq(&self, other: &LeanWorkerProgressEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LeanWorkerProgressEvent
impl StructuralPartialEq for LeanWorkerProgressEvent
Auto Trait Implementations§
impl Freeze for LeanWorkerProgressEvent
impl RefUnwindSafe for LeanWorkerProgressEvent
impl Send for LeanWorkerProgressEvent
impl Sync for LeanWorkerProgressEvent
impl Unpin for LeanWorkerProgressEvent
impl UnsafeUnpin for LeanWorkerProgressEvent
impl UnwindSafe for LeanWorkerProgressEvent
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