DriveCost

Trait DriveCost 

Source
pub trait DriveCost {
    // Required method
    fn ephemeral_cost(&self, fee_version: &FeeVersion) -> Result<u64, Error>;
}
Expand description

Drive cost trait

Required Methods§

Source

fn ephemeral_cost(&self, fee_version: &FeeVersion) -> Result<u64, Error>

Ephemeral cost

Implementations on Foreign Types§

Source§

impl DriveCost for OperationCost

Source§

fn ephemeral_cost(&self, fee_version: &FeeVersion) -> Result<Credits, Error>

Return the ephemeral cost from the operation

Implementors§