Enum near_vm_logic::types::ReturnData
source · pub enum ReturnData {
Value(Vec<u8>),
ReceiptIndex(ReceiptIndex),
None,
}
Variants§
Value(Vec<u8>)
Method returned some value or data.
ReceiptIndex(ReceiptIndex)
The return value of the method should be taken from the return value of another method identified through receipt index.
None
Method hasn’t returned any data or promise.
Implementations§
Trait Implementations§
source§impl Clone for ReturnData
impl Clone for ReturnData
source§fn clone(&self) -> ReturnData
fn clone(&self) -> ReturnData
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 ReturnData
impl Debug for ReturnData
source§impl PartialEq<ReturnData> for ReturnData
impl PartialEq<ReturnData> for ReturnData
source§fn eq(&self, other: &ReturnData) -> bool
fn eq(&self, other: &ReturnData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReturnData
Auto Trait Implementations§
impl RefUnwindSafe for ReturnData
impl Send for ReturnData
impl Sync for ReturnData
impl Unpin for ReturnData
impl UnwindSafe for ReturnData
Blanket Implementations§
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request