pub struct SignedCall { /* private fields */ }Expand description
A signed invocation with its canonical hash available before any network request.
Implementations§
Source§impl SignedCall
impl SignedCall
Sourcepub async fn submit<C: ClientT + Sync>(
&self,
client: &NativeClient<C>,
) -> Result<SubmittedCall, SubmitCallError>
pub async fn submit<C: ClientT + Sync>( &self, client: &NativeClient<C>, ) -> Result<SubmittedCall, SubmitCallError>
Submit these signed bytes exactly once through the native RPC contract. The caller must verify compatibility and network identity before signing.
Source§impl SignedCall
impl SignedCall
Sourcepub fn decode_return(&self, data: &[u8]) -> Result<Vec<u8>, SigningError>
pub fn decode_return(&self, data: &[u8]) -> Result<Vec<u8>, SigningError>
Extract the one child’s return bytes after checking the receipt’s success status. The original wallet receipt remains available to the caller.
Trait Implementations§
Source§impl Clone for SignedCall
impl Clone for SignedCall
Source§impl Debug for SignedCall
impl Debug for SignedCall
impl Eq for SignedCall
Source§impl PartialEq for SignedCall
impl PartialEq for SignedCall
impl StructuralPartialEq for SignedCall
Auto Trait Implementations§
impl Freeze for SignedCall
impl RefUnwindSafe for SignedCall
impl Send for SignedCall
impl Sync for SignedCall
impl Unpin for SignedCall
impl UnsafeUnpin for SignedCall
impl UnwindSafe for SignedCall
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.