pub struct PerformanceData {
pub cold_start: Duration,
pub records: Vec<BufferConsumptionRecord>,
}Fields§
§cold_start: Duration§records: Vec<BufferConsumptionRecord>Implementations§
Source§impl PerformanceData
impl PerformanceData
pub fn print_records(&self)
pub fn gen_report(&self, args: Args) -> Result<PerformanceReport, Error>
Trait Implementations§
Source§impl Debug for PerformanceData
impl Debug for PerformanceData
Source§impl Default for PerformanceData
impl Default for PerformanceData
Source§fn default() -> PerformanceData
fn default() -> PerformanceData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PerformanceData
impl RefUnwindSafe for PerformanceData
impl Send for PerformanceData
impl Sync for PerformanceData
impl Unpin for PerformanceData
impl UnwindSafe for PerformanceData
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