pub struct ForeignCallWaitInfo<F> {
pub function: String,
pub inputs: Vec<ForeignCallParam<F>>,
}Expand description
Encapsulates a request from a Brillig VM process that encounters a foreign call opcode where the result of the foreign call has not yet been provided.
The caller must resolve this opcode externally based upon the information in the request.
Fields§
§function: StringAn identifier interpreted by the caller process
inputs: Vec<ForeignCallParam<F>>Resolved inputs to a foreign call computed in the previous steps of a Brillig VM process
Trait Implementations§
Source§impl<F: Clone> Clone for ForeignCallWaitInfo<F>
impl<F: Clone> Clone for ForeignCallWaitInfo<F>
Source§fn clone(&self) -> ForeignCallWaitInfo<F>
fn clone(&self) -> ForeignCallWaitInfo<F>
Returns a duplicate 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<F: Debug> Debug for ForeignCallWaitInfo<F>
impl<F: Debug> Debug for ForeignCallWaitInfo<F>
Source§impl<'de, F> Deserialize<'de> for ForeignCallWaitInfo<F>where
F: Deserialize<'de>,
impl<'de, F> Deserialize<'de> for ForeignCallWaitInfo<F>where
F: Deserialize<'de>,
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
Source§impl<F: PartialEq> PartialEq for ForeignCallWaitInfo<F>
impl<F: PartialEq> PartialEq for ForeignCallWaitInfo<F>
Source§impl<F> Serialize for ForeignCallWaitInfo<F>where
F: Serialize,
impl<F> Serialize for ForeignCallWaitInfo<F>where
F: Serialize,
impl<F> StructuralPartialEq for ForeignCallWaitInfo<F>
Auto Trait Implementations§
impl<F> Freeze for ForeignCallWaitInfo<F>
impl<F> RefUnwindSafe for ForeignCallWaitInfo<F>where
F: RefUnwindSafe,
impl<F> Send for ForeignCallWaitInfo<F>where
F: Send,
impl<F> Sync for ForeignCallWaitInfo<F>where
F: Sync,
impl<F> Unpin for ForeignCallWaitInfo<F>where
F: Unpin,
impl<F> UnwindSafe for ForeignCallWaitInfo<F>where
F: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more