[−][src]Struct zkinterface::zkinterface_generated::zkinterface::Command
Optional: Command messages can be used to request actions from the receiver. This makes it possible to write code that works in different environments. Commands and parameters can be passed over the same byte stream as other messages; if so Command must be the first message. This reduces the need for environment-specific methods (it can replace CLI --flags, etc).
Fields
_tab: Table<'a>
Implementations
impl<'a> Command<'a>
[src]
pub fn init_from_table(table: Table<'a>) -> Self
[src]
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>(
_fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
args: &'args CommandArgs<'args>
) -> WIPOffset<Command<'bldr>>
[src]
_fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
args: &'args CommandArgs<'args>
) -> WIPOffset<Command<'bldr>>
pub const VT_CONSTRAINTS_GENERATION: VOffsetT
[src]
pub const VT_WITNESS_GENERATION: VOffsetT
[src]
pub const VT_PARAMETERS: VOffsetT
[src]
pub fn constraints_generation(&self) -> bool
[src]
For gadget flows.
Request the generation of a constraint system (or part thereof).
If true, this must be followed by a Circuit.
The response must be another Circuit message with a greater free_variable_id
followed by one or more ConstraintSystem messages.
pub fn witness_generation(&self) -> bool
[src]
For gadget flows.
Request the generation of a witness (or part thereof).
If true, this must be followed by a Circuit, and the connections
variables must contain input values.
The response must be another Circuit message, with a greater free_variable_id
,
with output values in connections
variables, followed by one or more Witness
messages.
pub fn parameters(&self) -> Option<Vector<'a, ForwardsUOffset<KeyValue<'a>>>>
[src]
Optional: Any complementary parameter that may be useful.
Trait Implementations
impl<'a> Clone for Command<'a>
[src]
impl<'a> Copy for Command<'a>
[src]
impl<'a> Debug for Command<'a>
[src]
impl<'a> Follow<'a> for Command<'a>
[src]
impl<'a> PartialEq<Command<'a>> for Command<'a>
[src]
impl<'a> StructuralPartialEq for Command<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Command<'a>
impl<'a> Send for Command<'a>
impl<'a> Sync for Command<'a>
impl<'a> Unpin for Command<'a>
impl<'a> UnwindSafe for Command<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,