pub struct ProfileEntry {
pub phase: String,
pub pack: String,
pub handler: String,
pub target: String,
pub duration_us: u64,
pub exit_status: i32,
}Expand description
One parsed entry row from a profile TSV.
Fields§
§phase: String"path" for an export, "source" for a sourced shell file.
pack: String§handler: String§target: String§duration_us: u64Microseconds the entry took to execute (computed from
end_t - start_t at parse time).
exit_status: i32Exit status reported by the source. Always 0 for path
entries (PATH export can’t fail meaningfully).
Trait Implementations§
Source§impl Clone for ProfileEntry
impl Clone for ProfileEntry
Source§fn clone(&self) -> ProfileEntry
fn clone(&self) -> ProfileEntry
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 ProfileEntry
impl Debug for ProfileEntry
Source§impl PartialEq for ProfileEntry
impl PartialEq for ProfileEntry
Source§impl Serialize for ProfileEntry
impl Serialize for ProfileEntry
impl StructuralPartialEq for ProfileEntry
Auto Trait Implementations§
impl Freeze for ProfileEntry
impl RefUnwindSafe for ProfileEntry
impl Send for ProfileEntry
impl Sync for ProfileEntry
impl Unpin for ProfileEntry
impl UnsafeUnpin for ProfileEntry
impl UnwindSafe for ProfileEntry
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