Enum triton_vm::vm::CoProcessorCall
source · pub enum CoProcessorCall {
SpongeStateReset,
Tip5Trace(Instruction, Box<PermutationTrace>),
U32Call(U32TableEntry),
OpStackCall(OpStackTableEntry),
RamCall(RamTableCall),
}Expand description
A call from the main processor to one of the co-processors, including the trace for that co-processor or enough information to deduce the trace.
Variants§
SpongeStateReset
Tip5Trace(Instruction, Box<PermutationTrace>)
Trace of the state registers for hash coprocessor table when executing instruction hash
or one of the Sponge instructions sponge_absorb and sponge_squeeze.
One row per round in the Tip5 permutation.
U32Call(U32TableEntry)
OpStackCall(OpStackTableEntry)
RamCall(RamTableCall)
Trait Implementations§
source§impl Clone for CoProcessorCall
impl Clone for CoProcessorCall
source§fn clone(&self) -> CoProcessorCall
fn clone(&self) -> CoProcessorCall
Returns a copy 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 Debug for CoProcessorCall
impl Debug for CoProcessorCall
source§impl PartialEq for CoProcessorCall
impl PartialEq for CoProcessorCall
source§fn eq(&self, other: &CoProcessorCall) -> bool
fn eq(&self, other: &CoProcessorCall) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for CoProcessorCall
impl StructuralPartialEq for CoProcessorCall
Auto Trait Implementations§
impl Freeze for CoProcessorCall
impl RefUnwindSafe for CoProcessorCall
impl Send for CoProcessorCall
impl Sync for CoProcessorCall
impl Unpin for CoProcessorCall
impl UnwindSafe for CoProcessorCall
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> 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