#[repr(C)]pub struct ArchivedInvocationResult{
pub exit_reason: <u32 as Archive>::Archived,
pub exit_arg: <u32 as Archive>::Archived,
pub return_value: <u64 as Archive>::Archived,
pub gas_remaining: <u64 as Archive>::Archived,
}Expand description
An archived InvocationResult
Fields§
§exit_reason: <u32 as Archive>::ArchivedThe archived counterpart of InvocationResult::exit_reason
exit_arg: <u32 as Archive>::ArchivedThe archived counterpart of InvocationResult::exit_arg
return_value: <u64 as Archive>::ArchivedThe archived counterpart of InvocationResult::return_value
gas_remaining: <u64 as Archive>::ArchivedThe archived counterpart of InvocationResult::gas_remaining
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedInvocationResult
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedInvocationResult
Source§impl Debug for ArchivedInvocationResult
impl Debug for ArchivedInvocationResult
Source§impl PartialEq for ArchivedInvocationResult
impl PartialEq for ArchivedInvocationResult
impl Eq for ArchivedInvocationResult
impl Portable for ArchivedInvocationResult
impl StructuralPartialEq for ArchivedInvocationResult
Auto Trait Implementations§
impl Freeze for ArchivedInvocationResult
impl RefUnwindSafe for ArchivedInvocationResult
impl Send for ArchivedInvocationResult
impl Sync for ArchivedInvocationResult
impl Unpin for ArchivedInvocationResult
impl UnsafeUnpin for ArchivedInvocationResult
impl UnwindSafe for ArchivedInvocationResult
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.