Struct jortestkit::measurement::Efficiency
source · pub struct Efficiency {
counted: u32,
max: u32,
}
Fields§
§counted: u32
§max: u32
Implementations§
source§impl Efficiency
impl Efficiency
pub fn new(counted: u32, max: u32) -> Self
pub fn against(&self, thresholds: &Thresholds<Efficiency>) -> Status
Trait Implementations§
source§impl Clone for Efficiency
impl Clone for Efficiency
source§fn clone(&self) -> Efficiency
fn clone(&self) -> Efficiency
Returns a copy 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 Efficiency
impl Debug for Efficiency
source§impl Display for Efficiency
impl Display for Efficiency
source§impl PartialEq<Efficiency> for Efficiency
impl PartialEq<Efficiency> for Efficiency
source§impl PartialOrd<Efficiency> for Efficiency
impl PartialOrd<Efficiency> for Efficiency
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreAuto Trait Implementations§
impl RefUnwindSafe for Efficiency
impl Send for Efficiency
impl Sync for Efficiency
impl Unpin for Efficiency
impl UnwindSafe for Efficiency
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