Struct multiversx_sc_scenario::api::DebugHandle
source · pub struct DebugHandle { /* private fields */ }
Implementations§
source§impl DebugHandle
impl DebugHandle
pub fn is_on_current_context(&self) -> bool
pub fn is_on_same_context(&self, other: &DebugHandle) -> bool
pub fn assert_current_context(&self)
Trait Implementations§
source§impl Clone for DebugHandle
impl Clone for DebugHandle
source§fn clone(&self) -> DebugHandle
fn clone(&self) -> DebugHandle
Returns a copy 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 Debug for DebugHandle
impl Debug for DebugHandle
source§impl From<i32> for DebugHandle
impl From<i32> for DebugHandle
source§impl HandleConstraints for DebugHandle
impl HandleConstraints for DebugHandle
source§impl ManagedVecItem for DebugHandle
impl ManagedVecItem for DebugHandle
source§const PAYLOAD_SIZE: usize = 4usize
const PAYLOAD_SIZE: usize = 4usize
Size of the data stored in the underlying
ManagedBuffer
.source§const SKIPS_RESERIALIZATION: bool = true
const SKIPS_RESERIALIZATION: bool = true
If true, then the encoding of the item is identical to the payload,
and no further conversion is necessary
(the underlying buffer can be used as-is during serialization).
False for all managed types, but true for basic types (like
u32
).§type Ref<'a> = DebugHandle
type Ref<'a> = DebugHandle
Reference representation of the ManagedVec item. Read more
source§fn from_byte_reader<Reader: FnMut(&mut [u8])>(reader: Reader) -> Self
fn from_byte_reader<Reader: FnMut(&mut [u8])>(reader: Reader) -> Self
Parses given bytes as a an owned object.
source§unsafe fn from_byte_reader_as_borrow<'a, Reader: FnMut(&mut [u8])>(
reader: Reader
) -> Self::Ref<'a>
unsafe fn from_byte_reader_as_borrow<'a, Reader: FnMut(&mut [u8])>( reader: Reader ) -> Self::Ref<'a>
Parses given bytes as a representation of the object, either owned, or a reference. Read more
fn to_byte_writer<R, Writer: FnMut(&[u8]) -> R>(&self, writer: Writer) -> R
source§impl PartialEq<i32> for DebugHandle
impl PartialEq<i32> for DebugHandle
source§impl PartialEq for DebugHandle
impl PartialEq for DebugHandle
source§fn eq(&self, other: &DebugHandle) -> bool
fn eq(&self, other: &DebugHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.Auto Trait Implementations§
impl !CodecFromSelf for DebugHandle
impl !RefUnwindSafe for DebugHandle
impl Send for DebugHandle
impl Sync for DebugHandle
impl Unpin for DebugHandle
impl !UnwindSafe for DebugHandle
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