pub trait DriveCost {
// Required method
fn ephemeral_cost(&self, fee_version: &FeeVersion) -> Result<u64, Error>;
}Expand description
Drive cost trait
Required Methods§
Sourcefn ephemeral_cost(&self, fee_version: &FeeVersion) -> Result<u64, Error>
fn ephemeral_cost(&self, fee_version: &FeeVersion) -> Result<u64, Error>
Ephemeral cost
Implementations on Foreign Types§
Source§impl DriveCost for OperationCost
impl DriveCost for OperationCost
Source§fn ephemeral_cost(&self, fee_version: &FeeVersion) -> Result<Credits, Error>
fn ephemeral_cost(&self, fee_version: &FeeVersion) -> Result<Credits, Error>
Return the ephemeral cost from the operation