Struct snarkvm_synthesizer_program::logic::command::Await
source · pub struct Await<N: Network> { /* private fields */ }
Expand description
An await command, e.g. await r0;
.
Awaits the result of an asynchronous call (a future).
Note that asynchronous calls currently do not return a value.
Implementations§
Trait Implementations§
source§impl<N: PartialEq + Network> PartialEq for Await<N>
impl<N: PartialEq + Network> PartialEq for Await<N>
impl<N: Eq + Network> Eq for Await<N>
impl<N: Network> StructuralEq for Await<N>
impl<N: Network> StructuralPartialEq for Await<N>
Auto Trait Implementations§
impl<N> RefUnwindSafe for Await<N>where N: RefUnwindSafe, <N as Environment>::Field: RefUnwindSafe,
impl<N> Send for Await<N>
impl<N> Sync for Await<N>
impl<N> Unpin for Await<N>where N: Unpin, <N as Environment>::Field: Unpin,
impl<N> UnwindSafe for Await<N>where N: UnwindSafe, <N as Environment>::Field: UnwindSafe,
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.