pub enum Cost {
None,
Unverified,
Fixed(Money),
Fuses(&'static [(u16, Money)]),
FusesYearlyConsumption(&'static [(u16, Option<u32>, Money)]),
FuseRange(&'static [(u16, u16, Money)]),
}Variants§
None
Unverified
Cost has not been verified
Fixed(Money)
Fuses(&'static [(u16, Money)])
FusesYearlyConsumption(&'static [(u16, Option<u32>, Money)])
Fuse size combined with a yearly energy consumption limit
FuseRange(&'static [(u16, u16, Money)])
Implementations§
Trait Implementations§
impl Copy for Cost
Auto Trait Implementations§
impl Freeze for Cost
impl RefUnwindSafe for Cost
impl Send for Cost
impl Sync for Cost
impl Unpin for Cost
impl UnwindSafe for Cost
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