Enum near_primitives_core::config::ExtCosts[][src]

pub enum ExtCosts {
Show 53 variants base, contract_compile_base, contract_compile_bytes, read_memory_base, read_memory_byte, write_memory_base, write_memory_byte, read_register_base, read_register_byte, write_register_base, write_register_byte, utf8_decoding_base, utf8_decoding_byte, utf16_decoding_base, utf16_decoding_byte, sha256_base, sha256_byte, keccak256_base, keccak256_byte, keccak512_base, keccak512_byte, ripemd160_base, ripemd160_block, ecrecover_base, log_base, log_byte, storage_write_base, storage_write_key_byte, storage_write_value_byte, storage_write_evicted_byte, storage_read_base, storage_read_key_byte, storage_read_value_byte, storage_remove_base, storage_remove_key_byte, storage_remove_ret_value_byte, storage_has_key_base, storage_has_key_byte, storage_iter_create_prefix_base, storage_iter_create_prefix_byte, storage_iter_create_range_base, storage_iter_create_from_byte, storage_iter_create_to_byte, storage_iter_next_base, storage_iter_next_key_byte, storage_iter_next_value_byte, touching_trie_node, promise_and_base, promise_and_per_promise, promise_return, validator_stake_base, validator_total_stake_base, __count,
}
Expand description

Strongly-typed representation of the fees for counting.

Variants

base

contract_compile_base

contract_compile_bytes

read_memory_base

read_memory_byte

write_memory_base

write_memory_byte

read_register_base

read_register_byte

write_register_base

write_register_byte

utf8_decoding_base

utf8_decoding_byte

utf16_decoding_base

utf16_decoding_byte

sha256_base

sha256_byte

keccak256_base

keccak256_byte

keccak512_base

keccak512_byte

ripemd160_base

ripemd160_block

ecrecover_base

log_base

log_byte

storage_write_base

storage_write_key_byte

storage_write_value_byte

storage_write_evicted_byte

storage_read_base

storage_read_key_byte

storage_read_value_byte

storage_remove_base

storage_remove_key_byte

storage_remove_ret_value_byte

storage_has_key_base

storage_has_key_byte

storage_iter_create_prefix_base

storage_iter_create_prefix_byte

storage_iter_create_range_base

storage_iter_create_from_byte

storage_iter_create_to_byte

storage_iter_next_base

storage_iter_next_key_byte

storage_iter_next_value_byte

touching_trie_node

promise_and_base

promise_and_per_promise

promise_return

validator_stake_base

validator_total_stake_base

__count

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.