pub struct StackSubstateMetadata { /* private fields */ }Implementations§
Source§impl StackSubstateMetadata
impl StackSubstateMetadata
pub fn new(config: &Config) -> Self
pub fn swallow_commit(&mut self, other: Self) -> Result<(), ExitError>
pub fn swallow_revert(&mut self, _other: Self) -> Result<(), ExitError>
pub fn swallow_discard(&mut self, _other: Self) -> Result<(), ExitError>
pub fn spit_child(&self, is_static: bool) -> Self
pub fn is_static(&self) -> bool
pub fn depth(&self) -> Option<usize>
pub fn access_address(&mut self, address: H160)
pub fn access_addresses<I>(&mut self, addresses: I)
pub fn access_storage(&mut self, address: H160, key: H256)
pub fn access_storages<I>(&mut self, storages: I)
pub fn accessed(&self) -> &Option<Accessed>
Trait Implementations§
Source§impl Clone for StackSubstateMetadata
impl Clone for StackSubstateMetadata
Source§fn clone(&self) -> StackSubstateMetadata
fn clone(&self) -> StackSubstateMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StackSubstateMetadata
impl RefUnwindSafe for StackSubstateMetadata
impl Send for StackSubstateMetadata
impl Sync for StackSubstateMetadata
impl Unpin for StackSubstateMetadata
impl UnwindSafe for StackSubstateMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more