Struct solana_runtime::cost_model::CostModel
source · [−]pub struct CostModel { /* private fields */ }
Implementations
pub fn upsert_instruction_cost(
&mut self,
program_key: &Pubkey,
cost: u64
) -> Result<u64, &'static str>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CostModel
impl UnwindSafe for CostModel
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more