Enum near_sdk::PromiseResult
source · pub enum PromiseResult {
Successful(Vec<u8>),
Failed,
}
Expand description
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§
Trait Implementations§
source§impl Debug for PromiseResult
impl Debug for PromiseResult
source§impl PartialEq for PromiseResult
impl PartialEq for PromiseResult
source§fn eq(&self, other: &PromiseResult) -> bool
fn eq(&self, other: &PromiseResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PromiseResult
impl StructuralPartialEq for PromiseResult
Auto Trait Implementations§
impl Freeze for PromiseResult
impl RefUnwindSafe for PromiseResult
impl Send for PromiseResult
impl Sync for PromiseResult
impl Unpin for PromiseResult
impl UnwindSafe for PromiseResult
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