pub enum CallStatusResponse {
Simple(ExecutionStatus),
Proof(CallProof),
}Expand description
Call status response.
This enum is serialized in JSON untagged. Hence, if the consumer knows the type of the response,
she may parse it directly to ExecutionStatus or CallProof.
Variants§
Simple(ExecutionStatus)
Simple response.
Proof(CallProof)
Response with a cryptographic proof of authenticity.
Trait Implementations§
Source§impl Clone for CallStatusResponse
impl Clone for CallStatusResponse
Source§fn clone(&self) -> CallStatusResponse
fn clone(&self) -> CallStatusResponse
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 CallStatusResponse
impl Debug for CallStatusResponse
Source§impl<'de> Deserialize<'de> for CallStatusResponse
impl<'de> Deserialize<'de> for CallStatusResponse
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
Auto Trait Implementations§
impl Freeze for CallStatusResponse
impl RefUnwindSafe for CallStatusResponse
impl Send for CallStatusResponse
impl Sync for CallStatusResponse
impl Unpin for CallStatusResponse
impl UnwindSafe for CallStatusResponse
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