[−][src]Struct casper_execution_engine::shared::host_function_costs::HostFunctionCosts
Fields
read_value: HostFunction<[Cost; 3]>
read_value_local: HostFunction<[Cost; 3]>
write: HostFunction<[Cost; 4]>
write_local: HostFunction<[Cost; 4]>
add: HostFunction<[Cost; 4]>
new_uref: HostFunction<[Cost; 3]>
load_named_keys: HostFunction<[Cost; 2]>
ret: HostFunction<[Cost; 2]>
get_key: HostFunction<[Cost; 5]>
has_key: HostFunction<[Cost; 2]>
put_key: HostFunction<[Cost; 4]>
remove_key: HostFunction<[Cost; 2]>
revert: HostFunction<[Cost; 1]>
is_valid_uref: HostFunction<[Cost; 2]>
add_associated_key: HostFunction<[Cost; 3]>
remove_associated_key: HostFunction<[Cost; 2]>
update_associated_key: HostFunction<[Cost; 3]>
set_action_threshold: HostFunction<[Cost; 2]>
get_caller: HostFunction<[Cost; 1]>
get_blocktime: HostFunction<[Cost; 1]>
create_purse: HostFunction<[Cost; 2]>
transfer_to_account: HostFunction<[Cost; 7]>
transfer_from_purse_to_account: HostFunction<[Cost; 9]>
transfer_from_purse_to_purse: HostFunction<[Cost; 8]>
get_balance: HostFunction<[Cost; 3]>
get_phase: HostFunction<[Cost; 1]>
get_system_contract: HostFunction<[Cost; 3]>
get_main_purse: HostFunction<[Cost; 1]>
read_host_buffer: HostFunction<[Cost; 3]>
create_contract_package_at_hash: HostFunction<[Cost; 2]>
create_contract_user_group: HostFunction<[Cost; 8]>
add_contract_version: HostFunction<[Cost; 10]>
disable_contract_version: HostFunction<[Cost; 4]>
call_contract: HostFunction<[Cost; 7]>
call_versioned_contract: HostFunction<[Cost; 9]>
get_named_arg_size: HostFunction<[Cost; 3]>
get_named_arg: HostFunction<[Cost; 4]>
remove_contract_user_group: HostFunction<[Cost; 4]>
provision_contract_user_group_uref: HostFunction<[Cost; 5]>
remove_contract_user_group_urefs: HostFunction<[Cost; 6]>
print: HostFunction<[Cost; 2]>
blake2b: HostFunction<[Cost; 4]>
Trait Implementations
impl Clone for HostFunctionCosts
[src]
pub fn clone(&self) -> HostFunctionCosts
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for HostFunctionCosts
[src]
impl DataSize for HostFunctionCosts
[src]
pub const IS_DYNAMIC: bool
[src]
pub const STATIC_HEAP_SIZE: usize
[src]
pub fn estimate_heap_size(&self) -> usize
[src]
impl Debug for HostFunctionCosts
[src]
impl Default for HostFunctionCosts
[src]
impl<'de> Deserialize<'de> for HostFunctionCosts
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Distribution<HostFunctionCosts> for Standard
[src]
pub fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> HostFunctionCosts
[src]
pub fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T> where
R: Rng,
[src]
R: Rng,
impl Eq for HostFunctionCosts
[src]
impl FromBytes for HostFunctionCosts
[src]
pub fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error>
[src]
pub fn from_vec(
bytes: Vec<u8, Global>
) -> Result<(Self, Vec<u8, Global>), Error>
[src]
bytes: Vec<u8, Global>
) -> Result<(Self, Vec<u8, Global>), Error>
impl PartialEq<HostFunctionCosts> for HostFunctionCosts
[src]
pub fn eq(&self, other: &HostFunctionCosts) -> bool
[src]
pub fn ne(&self, other: &HostFunctionCosts) -> bool
[src]
impl Serialize for HostFunctionCosts
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for HostFunctionCosts
[src]
impl StructuralPartialEq for HostFunctionCosts
[src]
impl ToBytes for HostFunctionCosts
[src]
Auto Trait Implementations
impl RefUnwindSafe for HostFunctionCosts
[src]
impl Send for HostFunctionCosts
[src]
impl Sync for HostFunctionCosts
[src]
impl Unpin for HostFunctionCosts
[src]
impl UnwindSafe for HostFunctionCosts
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,