pub struct DoneMessage {
pub msg_type: &'static str,
pub ticks: u64,
pub elapsed_s: f64,
}Expand description
Sent when the feed is exhausted or the run ends.
Fields§
§msg_type: &'static str§ticks: u64§elapsed_s: f64Implementations§
Trait Implementations§
Source§impl Clone for DoneMessage
impl Clone for DoneMessage
Source§fn clone(&self) -> DoneMessage
fn clone(&self) -> DoneMessage
Returns a duplicate of the value. Read more
1.0.0 · 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 DoneMessage
impl Debug for DoneMessage
Auto Trait Implementations§
impl Freeze for DoneMessage
impl RefUnwindSafe for DoneMessage
impl Send for DoneMessage
impl Sync for DoneMessage
impl Unpin for DoneMessage
impl UnsafeUnpin for DoneMessage
impl UnwindSafe for DoneMessage
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