pub struct CallbackVM<'a, V: VM, C: Callback + 'a>(/* private fields */);Implementations§
Source§impl<'a, V: VM, C: Callback + 'a> CallbackVM<'a, V, C>
impl<'a, V: VM, C: Callback + 'a> CallbackVM<'a, V, C>
pub fn new(vm: V, callback: &'a C) -> Self
pub fn fire(&mut self)
pub fn status(&self) -> VMStatus
pub fn accounts(&self) -> Values<'_, Address, AccountChange>
pub fn used_addresses(&self) -> HashSet<Address>
pub fn out(&self) -> &[u8] ⓘ
pub fn available_gas(&self) -> Gas
pub fn refunded_gas(&self) -> Gas
pub fn logs(&self) -> &[Log]
pub fn removed(&self) -> &[Address] ⓘ
Auto Trait Implementations§
impl<'a, V, C> Freeze for CallbackVM<'a, V, C>where
V: Freeze,
impl<'a, V, C> RefUnwindSafe for CallbackVM<'a, V, C>where
V: RefUnwindSafe,
C: RefUnwindSafe,
impl<'a, V, C> Send for CallbackVM<'a, V, C>
impl<'a, V, C> Sync for CallbackVM<'a, V, C>
impl<'a, V, C> Unpin for CallbackVM<'a, V, C>where
V: Unpin,
impl<'a, V, C> UnwindSafe for CallbackVM<'a, V, C>where
V: UnwindSafe,
C: RefUnwindSafe,
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