#[non_exhaustive]pub struct TrackedTaskInfo {
pub name: String,
pub spawned_at: String,
pub is_finished: bool,
pub uptime_secs: u64,
}Expand description
Info about a tracked async task spawned by Victauri.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringHuman-readable task name.
spawned_at: StringISO 8601 timestamp when the task was spawned.
is_finished: boolWhether the task has finished (completed or errored).
uptime_secs: u64How long the task has been running in seconds.
Trait Implementations§
Source§impl Clone for TrackedTaskInfo
impl Clone for TrackedTaskInfo
Source§impl Debug for TrackedTaskInfo
impl Debug for TrackedTaskInfo
Auto Trait Implementations§
impl Freeze for TrackedTaskInfo
impl RefUnwindSafe for TrackedTaskInfo
impl Send for TrackedTaskInfo
impl Sync for TrackedTaskInfo
impl Unpin for TrackedTaskInfo
impl UnsafeUnpin for TrackedTaskInfo
impl UnwindSafe for TrackedTaskInfo
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