pub struct DebugApiBackend;
Trait Implementations§
Source§impl Clone for DebugApiBackend
impl Clone for DebugApiBackend
Source§fn clone(&self) -> DebugApiBackend
fn clone(&self) -> DebugApiBackend
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 moreSource§impl VMHooksApiBackend for DebugApiBackend
impl VMHooksApiBackend for DebugApiBackend
Source§type HandleType = DebugHandle
type HandleType = DebugHandle
We use a single handle type for all handles.
Source§fn with_vm_hooks<R, F>(f: F) -> R
fn with_vm_hooks<R, F>(f: F) -> R
All communication with the VM happens via this method.
fn with_vm_hooks_ctx_1<R, F>(handle: Self::HandleType, f: F) -> R
fn with_vm_hooks_ctx_2<R, F>( handle1: Self::HandleType, handle2: Self::HandleType, f: F, ) -> R
fn with_vm_hooks_ctx_3<R, F>( handle1: Self::HandleType, handle2: Self::HandleType, handle3: Self::HandleType, f: F, ) -> R
fn assert_live_handle(handle: &Self::HandleType)
Source§fn with_static_data<R, F>(f: F) -> Rwhere
F: FnOnce(&StaticVarData) -> R,
fn with_static_data<R, F>(f: F) -> Rwhere
F: FnOnce(&StaticVarData) -> R,
Static data does not belong to the VM, or to the VM hooks. It belongs to the contract only.
Auto Trait Implementations§
impl Freeze for DebugApiBackend
impl RefUnwindSafe for DebugApiBackend
impl Send for DebugApiBackend
impl Sync for DebugApiBackend
impl Unpin for DebugApiBackend
impl UnwindSafe for DebugApiBackend
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
fn interpret_from(from: &T, _context: &InterpreterContext) -> T
Source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more