pub struct PerfMetrics {
pub keygen_time: Duration,
pub encrypt_time: Duration,
pub decrypt_time: Duration,
pub t_transform_count: u32,
pub sqrt_attempts: u32,
pub operation_history: Vec<(String, Duration)>,
}Expand description
Performance metrics for operations
Fields§
§keygen_time: Duration§encrypt_time: Duration§decrypt_time: Duration§t_transform_count: u32§sqrt_attempts: u32§operation_history: Vec<(String, Duration)>Trait Implementations§
Source§impl Clone for PerfMetrics
impl Clone for PerfMetrics
Source§fn clone(&self) -> PerfMetrics
fn clone(&self) -> PerfMetrics
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 moreAuto Trait Implementations§
impl Freeze for PerfMetrics
impl RefUnwindSafe for PerfMetrics
impl Send for PerfMetrics
impl Sync for PerfMetrics
impl Unpin for PerfMetrics
impl UnwindSafe for PerfMetrics
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