pub enum Instruction<N: Network> {
Show 119 variants
Abs(Abs<N>),
AbsWrapped(AbsWrapped<N>),
Add(Add<N>),
AddWrapped(AddWrapped<N>),
And(And<N>),
AssertEq(AssertEq<N>),
AssertNeq(AssertNeq<N>),
Async(Async<N>),
Call(Call<N>),
Cast(Cast<N>),
CastLossy(CastLossy<N>),
CommitBHP256(CommitBHP256<N>),
CommitBHP512(CommitBHP512<N>),
CommitBHP768(CommitBHP768<N>),
CommitBHP1024(CommitBHP1024<N>),
CommitPED64(CommitPED64<N>),
CommitPED128(CommitPED128<N>),
DeserializeBits(DeserializeBits<N>),
DeserializeBitsRaw(DeserializeBitsRaw<N>),
Div(Div<N>),
DivWrapped(DivWrapped<N>),
Double(Double<N>),
ECDSAVerifyDigest(ECDSAVerifyDigest<N>),
ECDSAVerifyDigestEth(ECDSAVerifyDigestEth<N>),
ECDSAVerifyKeccak256(ECDSAVerifyKeccak256<N>),
ECDSAVerifyKeccak256Raw(ECDSAVerifyKeccak256Raw<N>),
ECDSAVerifyKeccak256Eth(ECDSAVerifyKeccak256Eth<N>),
ECDSAVerifyKeccak384(ECDSAVerifyKeccak384<N>),
ECDSAVerifyKeccak384Raw(ECDSAVerifyKeccak384Raw<N>),
ECDSAVerifyKeccak384Eth(ECDSAVerifyKeccak384Eth<N>),
ECDSAVerifyKeccak512(ECDSAVerifyKeccak512<N>),
ECDSAVerifyKeccak512Raw(ECDSAVerifyKeccak512Raw<N>),
ECDSAVerifyKeccak512Eth(ECDSAVerifyKeccak512Eth<N>),
ECDSAVerifySha3_256(ECDSAVerifySha3_256<N>),
ECDSAVerifySha3_256Raw(ECDSAVerifySha3_256Raw<N>),
ECDSAVerifySha3_256Eth(ECDSAVerifySha3_256Eth<N>),
ECDSAVerifySha3_384(ECDSAVerifySha3_384<N>),
ECDSAVerifySha3_384Raw(ECDSAVerifySha3_384Raw<N>),
ECDSAVerifySha3_384Eth(ECDSAVerifySha3_384Eth<N>),
ECDSAVerifySha3_512(ECDSAVerifySha3_512<N>),
ECDSAVerifySha3_512Raw(ECDSAVerifySha3_512Raw<N>),
ECDSAVerifySha3_512Eth(ECDSAVerifySha3_512Eth<N>),
GreaterThan(GreaterThan<N>),
GreaterThanOrEqual(GreaterThanOrEqual<N>),
HashBHP256(HashBHP256<N>),
HashBHP256Raw(HashBHP256Raw<N>),
HashBHP512(HashBHP512<N>),
HashBHP512Raw(HashBHP512Raw<N>),
HashBHP768(HashBHP768<N>),
HashBHP768Raw(HashBHP768Raw<N>),
HashBHP1024(HashBHP1024<N>),
HashBHP1024Raw(HashBHP1024Raw<N>),
HashKeccak256(HashKeccak256<N>),
HashKeccak256Raw(HashKeccak256Raw<N>),
HashKeccak256Native(HashKeccak256Native<N>),
HashKeccak256NativeRaw(HashKeccak256NativeRaw<N>),
HashKeccak384(HashKeccak384<N>),
HashKeccak384Raw(HashKeccak384Raw<N>),
HashKeccak384Native(HashKeccak384Native<N>),
HashKeccak384NativeRaw(HashKeccak384NativeRaw<N>),
HashKeccak512(HashKeccak512<N>),
HashKeccak512Raw(HashKeccak512Raw<N>),
HashKeccak512Native(HashKeccak512Native<N>),
HashKeccak512NativeRaw(HashKeccak512NativeRaw<N>),
HashPED64(HashPED64<N>),
HashPED64Raw(HashPED64Raw<N>),
HashPED128(HashPED128<N>),
HashPED128Raw(HashPED128Raw<N>),
HashPSD2(HashPSD2<N>),
HashPSD2Raw(HashPSD2Raw<N>),
HashPSD4(HashPSD4<N>),
HashPSD4Raw(HashPSD4Raw<N>),
HashPSD8(HashPSD8<N>),
HashPSD8Raw(HashPSD8Raw<N>),
HashSha3_256(HashSha3_256<N>),
HashSha3_256Raw(HashSha3_256Raw<N>),
HashSha3_256Native(HashSha3_256Native<N>),
HashSha3_256NativeRaw(HashSha3_256NativeRaw<N>),
HashSha3_384(HashSha3_384<N>),
HashSha3_384Raw(HashSha3_384Raw<N>),
HashSha3_384Native(HashSha3_384Native<N>),
HashSha3_384NativeRaw(HashSha3_384NativeRaw<N>),
HashSha3_512(HashSha3_512<N>),
HashSha3_512Raw(HashSha3_512Raw<N>),
HashSha3_512Native(HashSha3_512Native<N>),
HashSha3_512NativeRaw(HashSha3_512NativeRaw<N>),
HashManyPSD2(HashManyPSD2<N>),
HashManyPSD4(HashManyPSD4<N>),
HashManyPSD8(HashManyPSD8<N>),
Inv(Inv<N>),
IsEq(IsEq<N>),
IsNeq(IsNeq<N>),
LessThan(LessThan<N>),
LessThanOrEqual(LessThanOrEqual<N>),
Modulo(Modulo<N>),
Mul(Mul<N>),
MulWrapped(MulWrapped<N>),
Nand(Nand<N>),
Neg(Neg<N>),
Nor(Nor<N>),
Not(Not<N>),
Or(Or<N>),
Pow(Pow<N>),
PowWrapped(PowWrapped<N>),
Rem(Rem<N>),
RemWrapped(RemWrapped<N>),
SerializeBits(SerializeBits<N>),
SerializeBitsRaw(SerializeBitsRaw<N>),
Shl(Shl<N>),
ShlWrapped(ShlWrapped<N>),
Shr(Shr<N>),
ShrWrapped(ShrWrapped<N>),
SignVerify(SignVerify<N>),
Square(Square<N>),
SquareRoot(SquareRoot<N>),
Sub(Sub<N>),
SubWrapped(SubWrapped<N>),
Ternary(Ternary<N>),
Xor(Xor<N>),
}Variants§
Abs(Abs<N>)
Compute the absolute value of first, checking for overflow, and storing the outcome in destination.
AbsWrapped(AbsWrapped<N>)
Compute the absolute value of first, wrapping around at the boundary of the type, and storing the outcome in destination.
Add(Add<N>)
Adds first with second, storing the outcome in destination.
AddWrapped(AddWrapped<N>)
Adds first with second, wrapping around at the boundary of the type, and storing the outcome in destination.
And(And<N>)
Performs a bitwise and operation on first and second, storing the outcome in destination.
AssertEq(AssertEq<N>)
Asserts first and second are equal.
AssertNeq(AssertNeq<N>)
Asserts first and second are not equal.
Async(Async<N>)
Calls a finalize asynchronously on the operands.
Call(Call<N>)
Calls a closure or function on the operands.
Cast(Cast<N>)
Casts the operands into the declared type.
CastLossy(CastLossy<N>)
Casts the operands into the declared type, with lossy truncation if applicable.
CommitBHP256(CommitBHP256<N>)
Performs a BHP commitment on inputs of 256-bit chunks.
CommitBHP512(CommitBHP512<N>)
Performs a BHP commitment on inputs of 512-bit chunks.
CommitBHP768(CommitBHP768<N>)
Performs a BHP commitment on inputs of 768-bit chunks.
CommitBHP1024(CommitBHP1024<N>)
Performs a BHP commitment on inputs of 1024-bit chunks.
CommitPED64(CommitPED64<N>)
Performs a Pedersen commitment on up to a 64-bit input.
CommitPED128(CommitPED128<N>)
Performs a Pedersen commitment on up to a 128-bit input.
DeserializeBits(DeserializeBits<N>)
Deserializes the bits into a value.
DeserializeBitsRaw(DeserializeBitsRaw<N>)
Deserializes the raw bits into a value.
Div(Div<N>)
Divides first by second, storing the outcome in destination.
DivWrapped(DivWrapped<N>)
Divides first by second, wrapping around at the boundary of the type, and storing the outcome in destination.
Double(Double<N>)
Doubles first, storing the outcome in destination.
ECDSAVerifyDigest(ECDSAVerifyDigest<N>)
Computes whether signature is valid for the given signer and digest using ECDSA.
ECDSAVerifyDigestEth(ECDSAVerifyDigestEth<N>)
Computes whether signature is valid for the given Ethereum address and digest using ECDSA.
ECDSAVerifyKeccak256(ECDSAVerifyKeccak256<N>)
Computes whether signature is valid for the given signer and message using ECDSA with Keccak256.
ECDSAVerifyKeccak256Raw(ECDSAVerifyKeccak256Raw<N>)
Computes whether signature is valid for the given signer and message using ECDSA with Keccak256 and raw inputs.
ECDSAVerifyKeccak256Eth(ECDSAVerifyKeccak256Eth<N>)
Computes whether signature is valid for the given Ethereum address and message using ECDSA with Keccak256 and raw inputs.
ECDSAVerifyKeccak384(ECDSAVerifyKeccak384<N>)
Computes whether signature is valid for the given signer and message using ECDSA with Keccak384.
ECDSAVerifyKeccak384Raw(ECDSAVerifyKeccak384Raw<N>)
Computes whether signature is valid for the given signer and message using ECDSA with Keccak384 and raw inputs.
ECDSAVerifyKeccak384Eth(ECDSAVerifyKeccak384Eth<N>)
Computes whether signature is valid for the given Ethereum address and message using ECDSA with Keccak384 and raw inputs.
ECDSAVerifyKeccak512(ECDSAVerifyKeccak512<N>)
Computes whether signature is valid for the given signer and message using ECDSA with Keccak512.
ECDSAVerifyKeccak512Raw(ECDSAVerifyKeccak512Raw<N>)
Computes whether signature is valid for the given signer and message using ECDSA with Keccak512 and raw inputs.
ECDSAVerifyKeccak512Eth(ECDSAVerifyKeccak512Eth<N>)
Computes whether signature is valid for the given Ethereum address and message using ECDSA with Keccak512 and raw inputs.
ECDSAVerifySha3_256(ECDSAVerifySha3_256<N>)
Computes whether signature is valid for the given signer and message using ECDSA with SHA3-256.
ECDSAVerifySha3_256Raw(ECDSAVerifySha3_256Raw<N>)
Computes whether signature is valid for the given signer and message using ECDSA with SHA3-256 and raw inputs.
ECDSAVerifySha3_256Eth(ECDSAVerifySha3_256Eth<N>)
Computes whether signature is valid for the given Ethereum address and message using ECDSA with SHA3-256 and raw inputs.
ECDSAVerifySha3_384(ECDSAVerifySha3_384<N>)
Computes whether signature is valid for the given signer and message using ECDSA with SHA3-384.
ECDSAVerifySha3_384Raw(ECDSAVerifySha3_384Raw<N>)
Computes whether signature is valid for the given signer and message using ECDSA with SHA3-384 and raw inputs.
ECDSAVerifySha3_384Eth(ECDSAVerifySha3_384Eth<N>)
Computes whether signature is valid for the given Ethereum address and message using ECDSA with SHA3-384 and raw inputs.
ECDSAVerifySha3_512(ECDSAVerifySha3_512<N>)
Computes whether signature is valid for the given signer and message using ECDSA with SHA3-512.
ECDSAVerifySha3_512Raw(ECDSAVerifySha3_512Raw<N>)
Computes whether signature is valid for the given signer and message using ECDSA with SHA3-512 and raw inputs.
ECDSAVerifySha3_512Eth(ECDSAVerifySha3_512Eth<N>)
Computes whether signature is valid for the given Ethereum address and message using ECDSA with SHA3-512 and raw inputs.
GreaterThan(GreaterThan<N>)
Computes whether first is greater than second as a boolean, storing the outcome in destination.
GreaterThanOrEqual(GreaterThanOrEqual<N>)
Computes whether first is greater than or equal to second as a boolean, storing the outcome in destination.
HashBHP256(HashBHP256<N>)
Performs a BHP hash on inputs of 256-bit chunks.
HashBHP256Raw(HashBHP256Raw<N>)
Performs a BHP hash on the input’s raw bits in 256-bit chunks.
HashBHP512(HashBHP512<N>)
Performs a BHP hash on inputs of 512-bit chunks.
HashBHP512Raw(HashBHP512Raw<N>)
Performs a BHP hash on the input’s raw bits in 512-bit chunks.
HashBHP768(HashBHP768<N>)
Performs a BHP hash on inputs of 768-bit chunks.
HashBHP768Raw(HashBHP768Raw<N>)
Performs a BHP hash on the input’s raw bits in 768-bit chunks.
HashBHP1024(HashBHP1024<N>)
Performs a BHP hash on inputs of 1024-bit chunks.
HashBHP1024Raw(HashBHP1024Raw<N>)
Performs a BHP hash on the input’s raw bits in 1024-bit chunks.
HashKeccak256(HashKeccak256<N>)
Performs a Keccak hash on the input, outputting 256 bits, hashing the result with BHP256.
HashKeccak256Raw(HashKeccak256Raw<N>)
Performs a Keccak hash on the input’s raw bits, hashing the result with BHP256.
HashKeccak256Native(HashKeccak256Native<N>)
Performs a Keccak hash on the input, outputting 256 bits.
HashKeccak256NativeRaw(HashKeccak256NativeRaw<N>)
Performs a Keccak hash on the input’s raw bits, outputting 256 bits.
HashKeccak384(HashKeccak384<N>)
Performs a Keccak hash on the input, outputting 384 bits, hashing the result with BHP512.
HashKeccak384Raw(HashKeccak384Raw<N>)
Performs a Keccak hash on the input’s raw bits, outputting 384 bits, hashing the result with BHP512.
HashKeccak384Native(HashKeccak384Native<N>)
Performs a Keccak hash on the input, outputting 384 bits.
HashKeccak384NativeRaw(HashKeccak384NativeRaw<N>)
Performs a Keccak hash on the input’s raw bits, outputting 384 bits.
HashKeccak512(HashKeccak512<N>)
Performs a Keccak hash on the input, outputting 512 bits, hashing the result with BHP512.
HashKeccak512Raw(HashKeccak512Raw<N>)
Performs a Keccak hash on the input’s raw bits, outputting 512 bits, hashing the result with BHP512.
HashKeccak512Native(HashKeccak512Native<N>)
Performs a Keccak hash on the input, outputting 512 bits.
HashKeccak512NativeRaw(HashKeccak512NativeRaw<N>)
Performs a Keccak hash on the input’s raw bits, outputting 512 bits.
HashPED64(HashPED64<N>)
Performs a Pedersen hash on up to a 64-bit input.
HashPED64Raw(HashPED64Raw<N>)
Performs a Pedersen hash on the input’s raw bits up to a 64-bit input.
HashPED128(HashPED128<N>)
Performs a Pedersen hash on up to a 128-bit input.
HashPED128Raw(HashPED128Raw<N>)
Performs a Pedersen hash on the input’s raw bits up to a 128-bit input.
HashPSD2(HashPSD2<N>)
Performs a Poseidon hash with an input rate of 2.
HashPSD2Raw(HashPSD2Raw<N>)
Performs a Poseidon hash on the input’s raw fields with an input rate of 2.
HashPSD4(HashPSD4<N>)
Performs a Poseidon hash with an input rate of 4.
HashPSD4Raw(HashPSD4Raw<N>)
Performs a Poseidon hash on the input’s raw fields with an input rate of 4.
HashPSD8(HashPSD8<N>)
Performs a Poseidon hash with an input rate of 8.
HashPSD8Raw(HashPSD8Raw<N>)
Performs a Poseidon hash on the input’s raw fields with an input rate of 8.
HashSha3_256(HashSha3_256<N>)
Performs a SHA-3 hash on the input, outputting 256 bits, hashing the result with BHP256.
HashSha3_256Raw(HashSha3_256Raw<N>)
Performs a SHA-3 hash on the input’s raw bits, outputting 256 bits, hashing the result with BHP256.
HashSha3_256Native(HashSha3_256Native<N>)
Performs a SHA-3 hash on the input’s bits, outputting 256 bits.
HashSha3_256NativeRaw(HashSha3_256NativeRaw<N>)
Performs a SHA-3 hash on the input’s raw bits, outputting 256 bits.
HashSha3_384(HashSha3_384<N>)
Performs a SHA-3 hash on the input, outputting 384 bits, hashing the result with BHP512.
HashSha3_384Raw(HashSha3_384Raw<N>)
Performs a SHA-3 hash on the input’s raw bits, outputting 384 bits, hashing the result with BHP512.
HashSha3_384Native(HashSha3_384Native<N>)
Performs a SHA-3 hash on the input’s bits, outputting 384 bits.
HashSha3_384NativeRaw(HashSha3_384NativeRaw<N>)
Performs a SHA-3 hash on the input’s raw bits, outputting 384 bits.
HashSha3_512(HashSha3_512<N>)
Performs a SHA-3 hash, outputting 512 bits, hashing the result with BHP512.
HashSha3_512Raw(HashSha3_512Raw<N>)
Performs a SHA-3 hash on the input’s raw bits, outputting 512 bits, hashing the result with BHP512.
HashSha3_512Native(HashSha3_512Native<N>)
Performs a SHA-3 hash on the input’s bits, outputting 512 bits.
HashSha3_512NativeRaw(HashSha3_512NativeRaw<N>)
Performs a SHA-3 hash on the input’s raw bits, outputting 512 bits.
HashManyPSD2(HashManyPSD2<N>)
Performs a Poseidon hash with an input rate of 2.
HashManyPSD4(HashManyPSD4<N>)
Performs a Poseidon hash with an input rate of 4.
HashManyPSD8(HashManyPSD8<N>)
Performs a Poseidon hash with an input rate of 8.
Inv(Inv<N>)
Computes the multiplicative inverse of first, storing the outcome in destination.
IsEq(IsEq<N>)
Computes whether first equals second as a boolean, storing the outcome in destination.
IsNeq(IsNeq<N>)
Computes whether first does not equals second as a boolean, storing the outcome in destination.
LessThan(LessThan<N>)
Computes whether first is less than second as a boolean, storing the outcome in destination.
LessThanOrEqual(LessThanOrEqual<N>)
Computes whether first is less than or equal to second as a boolean, storing the outcome in destination.
Modulo(Modulo<N>)
Computes first mod second, storing the outcome in destination.
Mul(Mul<N>)
Multiplies first with second, storing the outcome in destination.
MulWrapped(MulWrapped<N>)
Multiplies first with second, wrapping around at the boundary of the type, and storing the outcome in destination.
Nand(Nand<N>)
Returns false if first and second are true, storing the outcome in destination.
Neg(Neg<N>)
Negates first, storing the outcome in destination.
Nor(Nor<N>)
Returns true if neither first nor second is true, storing the outcome in destination.
Not(Not<N>)
Flips each bit in the representation of first, storing the outcome in destination.
Or(Or<N>)
Performs a bitwise or on first and second, storing the outcome in destination.
Pow(Pow<N>)
Raises first to the power of second, storing the outcome in destination.
PowWrapped(PowWrapped<N>)
Raises first to the power of second, wrapping around at the boundary of the type, storing the outcome in destination.
Rem(Rem<N>)
Divides first by second, storing the remainder in destination.
RemWrapped(RemWrapped<N>)
Divides first by second, wrapping around at the boundary of the type, storing the remainder in destination.
SerializeBits(SerializeBits<N>)
Serializes the bits of the input.
SerializeBitsRaw(SerializeBitsRaw<N>)
Serializes the raw bits of the input.
Shl(Shl<N>)
Shifts first left by second bits, storing the outcome in destination.
ShlWrapped(ShlWrapped<N>)
Shifts first left by second bits, wrapping around at the boundary of the type, storing the outcome in destination.
Shr(Shr<N>)
Shifts first right by second bits, storing the outcome in destination.
ShrWrapped(ShrWrapped<N>)
Shifts first right by second bits, wrapping around at the boundary of the type, storing the outcome in destination.
SignVerify(SignVerify<N>)
Computes whether signature is valid for the given address and message.
Square(Square<N>)
Squares ‘first’, storing the outcome in destination.
SquareRoot(SquareRoot<N>)
Compute the square root of ‘first’, storing the outcome in destination.
Sub(Sub<N>)
Computes first - second, storing the outcome in destination.
SubWrapped(SubWrapped<N>)
Computes first - second, wrapping around at the boundary of the type, and storing the outcome in destination.
Ternary(Ternary<N>)
Selects first, if condition is true, otherwise selects second, storing the result in destination.
Xor(Xor<N>)
Performs a bitwise xor on first and second, storing the outcome in destination.
Implementations§
Source§impl<N: Network> Instruction<N>
impl<N: Network> Instruction<N>
Sourcepub fn is_reserved_opcode(name: &str) -> bool
pub fn is_reserved_opcode(name: &str) -> bool
Returns true if the given name is a reserved opcode.
Sourcepub fn destinations(&self) -> Vec<Register<N>>
pub fn destinations(&self) -> Vec<Register<N>>
Returns the destination registers of the instruction.
Sourcepub fn call_operator(&self) -> Option<&CallOperator<N>>
pub fn call_operator(&self) -> Option<&CallOperator<N>>
Returns the CallOperator if the instruction is a call instruction, otherwise None.
Sourcepub fn evaluate(
&self,
stack: &impl StackTrait<N>,
registers: &mut impl RegistersSigner<N>,
) -> Result<()>
pub fn evaluate( &self, stack: &impl StackTrait<N>, registers: &mut impl RegistersSigner<N>, ) -> Result<()>
Evaluates the instruction.
Sourcepub fn execute<A: Aleo<Network = N>>(
&self,
stack: &impl StackTrait<N>,
registers: &mut impl RegistersCircuit<N, A>,
) -> Result<()>
pub fn execute<A: Aleo<Network = N>>( &self, stack: &impl StackTrait<N>, registers: &mut impl RegistersCircuit<N, A>, ) -> Result<()>
Executes the instruction.
Sourcepub fn finalize(
&self,
stack: &impl StackTrait<N>,
registers: &mut impl RegistersTrait<N>,
) -> Result<()>
pub fn finalize( &self, stack: &impl StackTrait<N>, registers: &mut impl RegistersTrait<N>, ) -> Result<()>
Finalizes the instruction.
Sourcepub fn output_types(
&self,
stack: &impl StackTrait<N>,
input_types: &[RegisterType<N>],
) -> Result<Vec<RegisterType<N>>>
pub fn output_types( &self, stack: &impl StackTrait<N>, input_types: &[RegisterType<N>], ) -> Result<Vec<RegisterType<N>>>
Returns the output type from the given input types.
Sourcepub fn exceeds_max_array_size(&self, max_array_size: u32) -> bool
pub fn exceeds_max_array_size(&self, max_array_size: u32) -> bool
Returns true if the instruction contains an array type with a size that exceeds the given maximum.
Trait Implementations§
Source§impl<N: Clone + Network> Clone for Instruction<N>
impl<N: Clone + Network> Clone for Instruction<N>
Source§fn clone(&self) -> Instruction<N>
fn clone(&self) -> Instruction<N>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<N: Network> Debug for Instruction<N>
impl<N: Network> Debug for Instruction<N>
Source§impl<N: Network> Display for Instruction<N>
impl<N: Network> Display for Instruction<N>
Source§impl<N: Network> From<AssertInstruction<N, { Variant::AssertEq as u8 }>> for Instruction<N>
impl<N: Network> From<AssertInstruction<N, { Variant::AssertEq as u8 }>> for Instruction<N>
Source§impl<N: Network> From<AssertInstruction<N, { Variant::AssertNeq as u8 }>> for Instruction<N>
impl<N: Network> From<AssertInstruction<N, { Variant::AssertNeq as u8 }>> for Instruction<N>
Source§impl<N: Network> From<CastOperation<N, { CastVariant::Cast as u8 }>> for Instruction<N>
impl<N: Network> From<CastOperation<N, { CastVariant::Cast as u8 }>> for Instruction<N>
Source§impl<N: Network> From<CastOperation<N, { CastVariant::CastLossy as u8 }>> for Instruction<N>
impl<N: Network> From<CastOperation<N, { CastVariant::CastLossy as u8 }>> for Instruction<N>
Source§impl<N: Network> From<CommitInstruction<N, { CommitVariant::CommitBHP1024 as u8 }>> for Instruction<N>
impl<N: Network> From<CommitInstruction<N, { CommitVariant::CommitBHP1024 as u8 }>> for Instruction<N>
Source§fn from(operation: CommitBHP1024<N>) -> Self
fn from(operation: CommitBHP1024<N>) -> Self
Source§impl<N: Network> From<CommitInstruction<N, { CommitVariant::CommitBHP256 as u8 }>> for Instruction<N>
impl<N: Network> From<CommitInstruction<N, { CommitVariant::CommitBHP256 as u8 }>> for Instruction<N>
Source§fn from(operation: CommitBHP256<N>) -> Self
fn from(operation: CommitBHP256<N>) -> Self
Source§impl<N: Network> From<CommitInstruction<N, { CommitVariant::CommitBHP512 as u8 }>> for Instruction<N>
impl<N: Network> From<CommitInstruction<N, { CommitVariant::CommitBHP512 as u8 }>> for Instruction<N>
Source§fn from(operation: CommitBHP512<N>) -> Self
fn from(operation: CommitBHP512<N>) -> Self
Source§impl<N: Network> From<CommitInstruction<N, { CommitVariant::CommitBHP768 as u8 }>> for Instruction<N>
impl<N: Network> From<CommitInstruction<N, { CommitVariant::CommitBHP768 as u8 }>> for Instruction<N>
Source§fn from(operation: CommitBHP768<N>) -> Self
fn from(operation: CommitBHP768<N>) -> Self
Source§impl<N: Network> From<CommitInstruction<N, { CommitVariant::CommitPED128 as u8 }>> for Instruction<N>
impl<N: Network> From<CommitInstruction<N, { CommitVariant::CommitPED128 as u8 }>> for Instruction<N>
Source§fn from(operation: CommitPED128<N>) -> Self
fn from(operation: CommitPED128<N>) -> Self
Source§impl<N: Network> From<CommitInstruction<N, { CommitVariant::CommitPED64 as u8 }>> for Instruction<N>
impl<N: Network> From<CommitInstruction<N, { CommitVariant::CommitPED64 as u8 }>> for Instruction<N>
Source§fn from(operation: CommitPED64<N>) -> Self
fn from(operation: CommitPED64<N>) -> Self
Source§impl<N: Network> From<DeserializeInstruction<N, { DeserializeVariant::FromBits as u8 }>> for Instruction<N>
impl<N: Network> From<DeserializeInstruction<N, { DeserializeVariant::FromBits as u8 }>> for Instruction<N>
Source§fn from(operation: DeserializeBits<N>) -> Self
fn from(operation: DeserializeBits<N>) -> Self
Source§impl<N: Network> From<DeserializeInstruction<N, { DeserializeVariant::FromBitsRaw as u8 }>> for Instruction<N>
impl<N: Network> From<DeserializeInstruction<N, { DeserializeVariant::FromBitsRaw as u8 }>> for Instruction<N>
Source§fn from(operation: DeserializeBitsRaw<N>) -> Self
fn from(operation: DeserializeBitsRaw<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::Digest as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::Digest as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifyDigest<N>) -> Self
fn from(operation: ECDSAVerifyDigest<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::DigestEth as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::DigestEth as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifyDigestEth<N>) -> Self
fn from(operation: ECDSAVerifyDigestEth<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashKeccak256 as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashKeccak256 as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifyKeccak256<N>) -> Self
fn from(operation: ECDSAVerifyKeccak256<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashKeccak256Eth as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashKeccak256Eth as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifyKeccak256Eth<N>) -> Self
fn from(operation: ECDSAVerifyKeccak256Eth<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashKeccak256Raw as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashKeccak256Raw as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifyKeccak256Raw<N>) -> Self
fn from(operation: ECDSAVerifyKeccak256Raw<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashKeccak384 as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashKeccak384 as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifyKeccak384<N>) -> Self
fn from(operation: ECDSAVerifyKeccak384<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashKeccak384Eth as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashKeccak384Eth as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifyKeccak384Eth<N>) -> Self
fn from(operation: ECDSAVerifyKeccak384Eth<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashKeccak384Raw as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashKeccak384Raw as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifyKeccak384Raw<N>) -> Self
fn from(operation: ECDSAVerifyKeccak384Raw<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashKeccak512 as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashKeccak512 as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifyKeccak512<N>) -> Self
fn from(operation: ECDSAVerifyKeccak512<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashKeccak512Eth as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashKeccak512Eth as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifyKeccak512Eth<N>) -> Self
fn from(operation: ECDSAVerifyKeccak512Eth<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashKeccak512Raw as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashKeccak512Raw as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifyKeccak512Raw<N>) -> Self
fn from(operation: ECDSAVerifyKeccak512Raw<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashSha3_256 as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashSha3_256 as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifySha3_256<N>) -> Self
fn from(operation: ECDSAVerifySha3_256<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashSha3_256Eth as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashSha3_256Eth as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifySha3_256Eth<N>) -> Self
fn from(operation: ECDSAVerifySha3_256Eth<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashSha3_256Raw as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashSha3_256Raw as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifySha3_256Raw<N>) -> Self
fn from(operation: ECDSAVerifySha3_256Raw<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashSha3_384 as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashSha3_384 as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifySha3_384<N>) -> Self
fn from(operation: ECDSAVerifySha3_384<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashSha3_384Eth as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashSha3_384Eth as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifySha3_384Eth<N>) -> Self
fn from(operation: ECDSAVerifySha3_384Eth<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashSha3_384Raw as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashSha3_384Raw as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifySha3_384Raw<N>) -> Self
fn from(operation: ECDSAVerifySha3_384Raw<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashSha3_512 as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashSha3_512 as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifySha3_512<N>) -> Self
fn from(operation: ECDSAVerifySha3_512<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashSha3_512Eth as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashSha3_512Eth as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifySha3_512Eth<N>) -> Self
fn from(operation: ECDSAVerifySha3_512Eth<N>) -> Self
Source§impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashSha3_512Raw as u8 }>> for Instruction<N>
impl<N: Network> From<ECDSAVerify<N, { ECDSAVerifyVariant::HashSha3_512Raw as u8 }>> for Instruction<N>
Source§fn from(operation: ECDSAVerifySha3_512Raw<N>) -> Self
fn from(operation: ECDSAVerifySha3_512Raw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashBHP1024 as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashBHP1024 as u8 }>> for Instruction<N>
Source§fn from(operation: HashBHP1024<N>) -> Self
fn from(operation: HashBHP1024<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashBHP1024Raw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashBHP1024Raw as u8 }>> for Instruction<N>
Source§fn from(operation: HashBHP1024Raw<N>) -> Self
fn from(operation: HashBHP1024Raw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashBHP256 as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashBHP256 as u8 }>> for Instruction<N>
Source§fn from(operation: HashBHP256<N>) -> Self
fn from(operation: HashBHP256<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashBHP256Raw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashBHP256Raw as u8 }>> for Instruction<N>
Source§fn from(operation: HashBHP256Raw<N>) -> Self
fn from(operation: HashBHP256Raw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashBHP512 as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashBHP512 as u8 }>> for Instruction<N>
Source§fn from(operation: HashBHP512<N>) -> Self
fn from(operation: HashBHP512<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashBHP512Raw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashBHP512Raw as u8 }>> for Instruction<N>
Source§fn from(operation: HashBHP512Raw<N>) -> Self
fn from(operation: HashBHP512Raw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashBHP768 as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashBHP768 as u8 }>> for Instruction<N>
Source§fn from(operation: HashBHP768<N>) -> Self
fn from(operation: HashBHP768<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashBHP768Raw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashBHP768Raw as u8 }>> for Instruction<N>
Source§fn from(operation: HashBHP768Raw<N>) -> Self
fn from(operation: HashBHP768Raw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak256 as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak256 as u8 }>> for Instruction<N>
Source§fn from(operation: HashKeccak256<N>) -> Self
fn from(operation: HashKeccak256<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak256Native as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak256Native as u8 }>> for Instruction<N>
Source§fn from(operation: HashKeccak256Native<N>) -> Self
fn from(operation: HashKeccak256Native<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak256NativeRaw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak256NativeRaw as u8 }>> for Instruction<N>
Source§fn from(operation: HashKeccak256NativeRaw<N>) -> Self
fn from(operation: HashKeccak256NativeRaw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak256Raw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak256Raw as u8 }>> for Instruction<N>
Source§fn from(operation: HashKeccak256Raw<N>) -> Self
fn from(operation: HashKeccak256Raw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak384 as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak384 as u8 }>> for Instruction<N>
Source§fn from(operation: HashKeccak384<N>) -> Self
fn from(operation: HashKeccak384<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak384Native as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak384Native as u8 }>> for Instruction<N>
Source§fn from(operation: HashKeccak384Native<N>) -> Self
fn from(operation: HashKeccak384Native<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak384NativeRaw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak384NativeRaw as u8 }>> for Instruction<N>
Source§fn from(operation: HashKeccak384NativeRaw<N>) -> Self
fn from(operation: HashKeccak384NativeRaw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak384Raw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak384Raw as u8 }>> for Instruction<N>
Source§fn from(operation: HashKeccak384Raw<N>) -> Self
fn from(operation: HashKeccak384Raw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak512 as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak512 as u8 }>> for Instruction<N>
Source§fn from(operation: HashKeccak512<N>) -> Self
fn from(operation: HashKeccak512<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak512Native as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak512Native as u8 }>> for Instruction<N>
Source§fn from(operation: HashKeccak512Native<N>) -> Self
fn from(operation: HashKeccak512Native<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak512NativeRaw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak512NativeRaw as u8 }>> for Instruction<N>
Source§fn from(operation: HashKeccak512NativeRaw<N>) -> Self
fn from(operation: HashKeccak512NativeRaw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak512Raw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashKeccak512Raw as u8 }>> for Instruction<N>
Source§fn from(operation: HashKeccak512Raw<N>) -> Self
fn from(operation: HashKeccak512Raw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashManyPSD2 as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashManyPSD2 as u8 }>> for Instruction<N>
Source§fn from(operation: HashManyPSD2<N>) -> Self
fn from(operation: HashManyPSD2<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashManyPSD4 as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashManyPSD4 as u8 }>> for Instruction<N>
Source§fn from(operation: HashManyPSD4<N>) -> Self
fn from(operation: HashManyPSD4<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashManyPSD8 as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashManyPSD8 as u8 }>> for Instruction<N>
Source§fn from(operation: HashManyPSD8<N>) -> Self
fn from(operation: HashManyPSD8<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashPED128 as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashPED128 as u8 }>> for Instruction<N>
Source§fn from(operation: HashPED128<N>) -> Self
fn from(operation: HashPED128<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashPED128Raw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashPED128Raw as u8 }>> for Instruction<N>
Source§fn from(operation: HashPED128Raw<N>) -> Self
fn from(operation: HashPED128Raw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashPED64 as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashPED64 as u8 }>> for Instruction<N>
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashPED64Raw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashPED64Raw as u8 }>> for Instruction<N>
Source§fn from(operation: HashPED64Raw<N>) -> Self
fn from(operation: HashPED64Raw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashPSD2 as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashPSD2 as u8 }>> for Instruction<N>
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashPSD2Raw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashPSD2Raw as u8 }>> for Instruction<N>
Source§fn from(operation: HashPSD2Raw<N>) -> Self
fn from(operation: HashPSD2Raw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashPSD4 as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashPSD4 as u8 }>> for Instruction<N>
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashPSD4Raw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashPSD4Raw as u8 }>> for Instruction<N>
Source§fn from(operation: HashPSD4Raw<N>) -> Self
fn from(operation: HashPSD4Raw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashPSD8 as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashPSD8 as u8 }>> for Instruction<N>
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashPSD8Raw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashPSD8Raw as u8 }>> for Instruction<N>
Source§fn from(operation: HashPSD8Raw<N>) -> Self
fn from(operation: HashPSD8Raw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_256 as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_256 as u8 }>> for Instruction<N>
Source§fn from(operation: HashSha3_256<N>) -> Self
fn from(operation: HashSha3_256<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_256Native as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_256Native as u8 }>> for Instruction<N>
Source§fn from(operation: HashSha3_256Native<N>) -> Self
fn from(operation: HashSha3_256Native<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_256NativeRaw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_256NativeRaw as u8 }>> for Instruction<N>
Source§fn from(operation: HashSha3_256NativeRaw<N>) -> Self
fn from(operation: HashSha3_256NativeRaw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_256Raw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_256Raw as u8 }>> for Instruction<N>
Source§fn from(operation: HashSha3_256Raw<N>) -> Self
fn from(operation: HashSha3_256Raw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_384 as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_384 as u8 }>> for Instruction<N>
Source§fn from(operation: HashSha3_384<N>) -> Self
fn from(operation: HashSha3_384<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_384Native as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_384Native as u8 }>> for Instruction<N>
Source§fn from(operation: HashSha3_384Native<N>) -> Self
fn from(operation: HashSha3_384Native<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_384NativeRaw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_384NativeRaw as u8 }>> for Instruction<N>
Source§fn from(operation: HashSha3_384NativeRaw<N>) -> Self
fn from(operation: HashSha3_384NativeRaw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_384Raw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_384Raw as u8 }>> for Instruction<N>
Source§fn from(operation: HashSha3_384Raw<N>) -> Self
fn from(operation: HashSha3_384Raw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_512 as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_512 as u8 }>> for Instruction<N>
Source§fn from(operation: HashSha3_512<N>) -> Self
fn from(operation: HashSha3_512<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_512Native as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_512Native as u8 }>> for Instruction<N>
Source§fn from(operation: HashSha3_512Native<N>) -> Self
fn from(operation: HashSha3_512Native<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_512NativeRaw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_512NativeRaw as u8 }>> for Instruction<N>
Source§fn from(operation: HashSha3_512NativeRaw<N>) -> Self
fn from(operation: HashSha3_512NativeRaw<N>) -> Self
Source§impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_512Raw as u8 }>> for Instruction<N>
impl<N: Network> From<HashInstruction<N, { HashVariant::HashSha3_512Raw as u8 }>> for Instruction<N>
Source§fn from(operation: HashSha3_512Raw<N>) -> Self
fn from(operation: HashSha3_512Raw<N>) -> Self
Source§impl<N: Network> From<IsInstruction<N, { Variant::IsEq as u8 }>> for Instruction<N>
impl<N: Network> From<IsInstruction<N, { Variant::IsEq as u8 }>> for Instruction<N>
Source§impl<N: Network> From<IsInstruction<N, { Variant::IsNeq as u8 }>> for Instruction<N>
impl<N: Network> From<IsInstruction<N, { Variant::IsNeq as u8 }>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, AbsOperation<N>, 1>> for Instruction<N>
impl<N: Network> From<Literals<N, AbsOperation<N>, 1>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, AbsWrappedOperation<N>, 1>> for Instruction<N>
impl<N: Network> From<Literals<N, AbsWrappedOperation<N>, 1>> for Instruction<N>
Source§fn from(operation: AbsWrapped<N>) -> Self
fn from(operation: AbsWrapped<N>) -> Self
Source§impl<N: Network> From<Literals<N, AddOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, AddOperation<N>, 2>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, AddWrappedOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, AddWrappedOperation<N>, 2>> for Instruction<N>
Source§fn from(operation: AddWrapped<N>) -> Self
fn from(operation: AddWrapped<N>) -> Self
Source§impl<N: Network> From<Literals<N, AndOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, AndOperation<N>, 2>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, DivOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, DivOperation<N>, 2>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, DivWrappedOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, DivWrappedOperation<N>, 2>> for Instruction<N>
Source§fn from(operation: DivWrapped<N>) -> Self
fn from(operation: DivWrapped<N>) -> Self
Source§impl<N: Network> From<Literals<N, DoubleOperation<N>, 1>> for Instruction<N>
impl<N: Network> From<Literals<N, DoubleOperation<N>, 1>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, GreaterThanOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, GreaterThanOperation<N>, 2>> for Instruction<N>
Source§fn from(operation: GreaterThan<N>) -> Self
fn from(operation: GreaterThan<N>) -> Self
Source§impl<N: Network> From<Literals<N, GreaterThanOrEqualOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, GreaterThanOrEqualOperation<N>, 2>> for Instruction<N>
Source§fn from(operation: GreaterThanOrEqual<N>) -> Self
fn from(operation: GreaterThanOrEqual<N>) -> Self
Source§impl<N: Network> From<Literals<N, InvOperation<N>, 1>> for Instruction<N>
impl<N: Network> From<Literals<N, InvOperation<N>, 1>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, LessThanOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, LessThanOperation<N>, 2>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, LessThanOrEqualOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, LessThanOrEqualOperation<N>, 2>> for Instruction<N>
Source§fn from(operation: LessThanOrEqual<N>) -> Self
fn from(operation: LessThanOrEqual<N>) -> Self
Source§impl<N: Network> From<Literals<N, ModuloOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, ModuloOperation<N>, 2>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, MulOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, MulOperation<N>, 2>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, MulWrappedOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, MulWrappedOperation<N>, 2>> for Instruction<N>
Source§fn from(operation: MulWrapped<N>) -> Self
fn from(operation: MulWrapped<N>) -> Self
Source§impl<N: Network> From<Literals<N, NandOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, NandOperation<N>, 2>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, NegOperation<N>, 1>> for Instruction<N>
impl<N: Network> From<Literals<N, NegOperation<N>, 1>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, NorOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, NorOperation<N>, 2>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, NotOperation<N>, 1>> for Instruction<N>
impl<N: Network> From<Literals<N, NotOperation<N>, 1>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, OrOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, OrOperation<N>, 2>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, PowOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, PowOperation<N>, 2>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, PowWrappedOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, PowWrappedOperation<N>, 2>> for Instruction<N>
Source§fn from(operation: PowWrapped<N>) -> Self
fn from(operation: PowWrapped<N>) -> Self
Source§impl<N: Network> From<Literals<N, RemOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, RemOperation<N>, 2>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, RemWrappedOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, RemWrappedOperation<N>, 2>> for Instruction<N>
Source§fn from(operation: RemWrapped<N>) -> Self
fn from(operation: RemWrapped<N>) -> Self
Source§impl<N: Network> From<Literals<N, ShlOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, ShlOperation<N>, 2>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, ShlWrappedOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, ShlWrappedOperation<N>, 2>> for Instruction<N>
Source§fn from(operation: ShlWrapped<N>) -> Self
fn from(operation: ShlWrapped<N>) -> Self
Source§impl<N: Network> From<Literals<N, ShrOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, ShrOperation<N>, 2>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, ShrWrappedOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, ShrWrappedOperation<N>, 2>> for Instruction<N>
Source§fn from(operation: ShrWrapped<N>) -> Self
fn from(operation: ShrWrapped<N>) -> Self
Source§impl<N: Network> From<Literals<N, SquareOperation<N>, 1>> for Instruction<N>
impl<N: Network> From<Literals<N, SquareOperation<N>, 1>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, SquareRootOperation<N>, 1>> for Instruction<N>
impl<N: Network> From<Literals<N, SquareRootOperation<N>, 1>> for Instruction<N>
Source§fn from(operation: SquareRoot<N>) -> Self
fn from(operation: SquareRoot<N>) -> Self
Source§impl<N: Network> From<Literals<N, SubOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, SubOperation<N>, 2>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, SubWrappedOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, SubWrappedOperation<N>, 2>> for Instruction<N>
Source§fn from(operation: SubWrapped<N>) -> Self
fn from(operation: SubWrapped<N>) -> Self
Source§impl<N: Network> From<Literals<N, TernaryOperation<N>, 3>> for Instruction<N>
impl<N: Network> From<Literals<N, TernaryOperation<N>, 3>> for Instruction<N>
Source§impl<N: Network> From<Literals<N, XorOperation<N>, 2>> for Instruction<N>
impl<N: Network> From<Literals<N, XorOperation<N>, 2>> for Instruction<N>
Source§impl<N: Network> From<SerializeInstruction<N, { SerializeVariant::ToBits as u8 }>> for Instruction<N>
impl<N: Network> From<SerializeInstruction<N, { SerializeVariant::ToBits as u8 }>> for Instruction<N>
Source§fn from(operation: SerializeBits<N>) -> Self
fn from(operation: SerializeBits<N>) -> Self
Source§impl<N: Network> From<SerializeInstruction<N, { SerializeVariant::ToBitsRaw as u8 }>> for Instruction<N>
impl<N: Network> From<SerializeInstruction<N, { SerializeVariant::ToBitsRaw as u8 }>> for Instruction<N>
Source§fn from(operation: SerializeBitsRaw<N>) -> Self
fn from(operation: SerializeBitsRaw<N>) -> Self
Source§impl<N: Network> From<SignatureVerification<N>> for Instruction<N>
impl<N: Network> From<SignatureVerification<N>> for Instruction<N>
Source§fn from(operation: SignVerify<N>) -> Self
fn from(operation: SignVerify<N>) -> Self
Source§impl<N: Network> FromBytes for Instruction<N>
impl<N: Network> FromBytes for Instruction<N>
Source§fn read_le<R: Read>(reader: R) -> IoResult<Self>
fn read_le<R: Read>(reader: R) -> IoResult<Self>
Self from reader as little-endian bytes.Source§fn from_bytes_le(bytes: &[u8]) -> Result<Self, Error>where
Self: Sized,
fn from_bytes_le(bytes: &[u8]) -> Result<Self, Error>where
Self: Sized,
Self from a byte array in little-endian order.Source§fn from_bytes_le_unchecked(bytes: &[u8]) -> Result<Self, Error>where
Self: Sized,
fn from_bytes_le_unchecked(bytes: &[u8]) -> Result<Self, Error>where
Self: Sized,
Self::from_bytes_le but avoids costly checks.
This shall only be called when deserializing from a trusted source, such as local storage. Read moreSource§fn read_le_unchecked<R>(reader: R) -> Result<Self, Error>
fn read_le_unchecked<R>(reader: R) -> Result<Self, Error>
Self::read_le but avoids costly checks.
This shall only be called when deserializing from a trusted source, such as local storage. Read moreSource§impl<N: Network> FromStr for Instruction<N>
impl<N: Network> FromStr for Instruction<N>
Source§impl<N: Network> Parser for Instruction<N>
impl<N: Network> Parser for Instruction<N>
Source§fn parse(string: &str) -> ParserResult<'_, Self>
fn parse(string: &str) -> ParserResult<'_, Self>
Parses a string into an instruction.
Source§impl<N: Network> ToBytes for Instruction<N>
impl<N: Network> ToBytes for Instruction<N>
impl<N: Eq + Network> Eq for Instruction<N>
impl<N: Network> StructuralPartialEq for Instruction<N>
Auto Trait Implementations§
impl<N> Freeze for Instruction<N>
impl<N> RefUnwindSafe for Instruction<N>where
<N as Environment>::Field: RefUnwindSafe,
N: RefUnwindSafe,
<N as Environment>::Projective: RefUnwindSafe,
<N as Environment>::Scalar: RefUnwindSafe,
impl<N> Send for Instruction<N>
impl<N> Sync for Instruction<N>
impl<N> Unpin for Instruction<N>where
<N as Environment>::Field: Unpin,
N: Unpin,
<N as Environment>::Projective: Unpin,
<N as Environment>::Scalar: Unpin,
impl<N> UnwindSafe for Instruction<N>where
<N as Environment>::Field: UnwindSafe,
N: UnwindSafe,
<N as Environment>::Projective: UnwindSafe,
<N as Environment>::Scalar: 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
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
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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>
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>
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