pub struct Profile<'a> {
pub duration: Duration,
pub period: Option<(i64, ValueType<'a>)>,
pub sample_types: Vec<ValueType<'a>>,
pub samples: Vec<Sample<'a>>,
pub start_time: SystemTime,
}Fields§
§duration: Duration§period: Option<(i64, ValueType<'a>)>§sample_types: Vec<ValueType<'a>>§samples: Vec<Sample<'a>>§start_time: SystemTimeTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Profile<'a>
impl<'a> RefUnwindSafe for Profile<'a>
impl<'a> Send for Profile<'a>
impl<'a> Sync for Profile<'a>
impl<'a> Unpin for Profile<'a>
impl<'a> UnwindSafe for Profile<'a>
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