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 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