[−][src]Enum near_sdk::PromiseResult
When there is a callback attached to one or more contract calls the execution results of these calls are available to the contract invoked through the callback.
Variants
Current version of the protocol never returns PromiseResult::NotReady
.
Trait Implementations
impl Debug for PromiseResult
[src]
impl<'de> Deserialize<'de> for PromiseResult
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<PromiseResult, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<PromiseResult, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl PartialEq<PromiseResult> for PromiseResult
[src]
fn eq(&self, other: &PromiseResult) -> bool
[src]
fn ne(&self, other: &PromiseResult) -> bool
[src]
impl Serialize for PromiseResult
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Auto Trait Implementations
impl RefUnwindSafe for PromiseResult
impl Send for PromiseResult
impl Sync for PromiseResult
impl Unpin for PromiseResult
impl UnwindSafe for PromiseResult
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,