pub enum CallOutcome {
Returned,
Failed,
Unfinished,
}Expand description
How a call ended.
Variants§
Returned
The host function returned a value.
Failed
The host function failed: a denial, a thrown error, a trap.
Unfinished
The run ended while the call was still in progress (a timeout or a cancellation).
Trait Implementations§
Source§impl Clone for CallOutcome
impl Clone for CallOutcome
impl Copy for CallOutcome
Source§impl Debug for CallOutcome
impl Debug for CallOutcome
Source§impl<'de> Deserialize<'de> for CallOutcome
impl<'de> Deserialize<'de> for CallOutcome
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
impl Eq for CallOutcome
Source§impl PartialEq for CallOutcome
impl PartialEq for CallOutcome
Source§impl Serialize for CallOutcome
impl Serialize for CallOutcome
impl StructuralPartialEq for CallOutcome
Auto Trait Implementations§
impl Freeze for CallOutcome
impl RefUnwindSafe for CallOutcome
impl Send for CallOutcome
impl Sync for CallOutcome
impl Unpin for CallOutcome
impl UnsafeUnpin for CallOutcome
impl UnwindSafe for CallOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.