Struct sabre_sdk::SabreTransactionContext [−][src]
pub struct SabreTransactionContext {}
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
get_state_entries queries the validator state for data at each of the addresses in the given list. The addresses that have been set are returned. Read more
set_state_entries requests that each address in the provided map be set in validator state to its corresponding value. Read more
delete_state_entries requests that each of the provided addresses be unset in validator state. A list of successfully deleted addresses is returned. Read more
add_event adds a new event to the execution result for this transaction. Read more
please use get_state_entry
or get_state_entries
instead
get_state queries the validator state for data at each of the addresses in the given list. The addresses that have been set are returned. get_state is deprecated, please use get_state_entry or get_state_entries instead Read more
get_state_entry queries the validator state for data at the address given. If the address is set, the data is returned. Read more
please use set_state_entry
or set_state_entries
instead
set_state requests that each address in the provided map be set in validator state to its corresponding value. set_state is deprecated, please use set_state_entry to set_state_entries instead Read more
set_state_entry requests that the provided address is set in the validator state to its corresponding value. Read more
please use delete_state_entry
or delete_state_entries
instead
delete_state requests that each of the provided addresses be unset in validator state. A list of successfully deleted addresses is returned. delete_state is deprecated, please use delete_state_entry to delete_state_entries instead Read more
delete_state_entry requests that the provided address be unset in validator state. A list of successfully deleted addresses is returned. Read more
Auto Trait Implementations
impl RefUnwindSafe for SabreTransactionContext
impl Send for SabreTransactionContext
impl Sync for SabreTransactionContext
impl Unpin for SabreTransactionContext
impl UnwindSafe for SabreTransactionContext
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
Given ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more