pub enum CostClass {
Cheap = 0,
Workhorse = 1,
Frontier = 2,
}Expand description
Relative cost/quota rank, not an absolute price. Cheap < Workhorse <
Frontier defines the cascade order within whatever pool is present.
Variants§
Trait Implementations§
impl Copy for CostClass
impl Eq for CostClass
Source§impl Ord for CostClass
impl Ord for CostClass
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for CostClass
impl PartialOrd for CostClass
impl StructuralPartialEq for CostClass
Auto Trait Implementations§
impl Forget for CostClass
impl Freeze for CostClass
impl Move for CostClass
impl RefUnwindSafe for CostClass
impl Send for CostClass
impl Sync for CostClass
impl Unpin for CostClass
impl UnsafeUnpin for CostClass
impl UnwindSafe for CostClass
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