Struct avm_interface::CallServiceResult
source · pub struct CallServiceResult {
pub ret_code: i32,
pub result: Value,
}
Expand description
Represents an executed host function result.
Fields§
§ret_code: i32
A error code service or builtin returned, where CALL_SERVICE_SUCCESS represents success.
result: Value
Resulted JValue returned by a service string.
Implementations§
Trait Implementations§
source§impl Clone for CallServiceResult
impl Clone for CallServiceResult
source§fn clone(&self) -> CallServiceResult
fn clone(&self) -> CallServiceResult
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 CallServiceResult
impl Debug for CallServiceResult
source§impl Default for CallServiceResult
impl Default for CallServiceResult
source§fn default() -> CallServiceResult
fn default() -> CallServiceResult
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CallServiceResult
impl<'de> Deserialize<'de> for CallServiceResult
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for CallServiceResult
impl Display for CallServiceResult
source§impl PartialEq for CallServiceResult
impl PartialEq for CallServiceResult
source§fn eq(&self, other: &CallServiceResult) -> bool
fn eq(&self, other: &CallServiceResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CallServiceResult
impl Serialize for CallServiceResult
impl Eq for CallServiceResult
impl StructuralPartialEq for CallServiceResult
Auto Trait Implementations§
impl Freeze for CallServiceResult
impl RefUnwindSafe for CallServiceResult
impl Send for CallServiceResult
impl Sync for CallServiceResult
impl Unpin for CallServiceResult
impl UnwindSafe for CallServiceResult
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
&self,
deserializer: &mut D,
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§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>
Gets the layout of the type.