pub enum CoProcessorCall {
SpongeStateReset,
Tip5Trace(Instruction, Box<PermutationTrace>),
U32(U32TableEntry),
OpStack(OpStackTableEntry),
Ram(RamTableCall),
}Expand description
A call from the main processor to one of the coprocessors, including the trace for that coprocessor 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,
sponge_absorb_mem, and sponge_squeeze.
One row per round in the Tip5 permutation.
U32(U32TableEntry)
OpStack(OpStackTableEntry)
Ram(RamTableCall)
Trait Implementations§
Source§impl Clone for CoProcessorCall
impl Clone for CoProcessorCall
Source§fn clone(&self) -> CoProcessorCall
fn clone(&self) -> CoProcessorCall
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 Debug for CoProcessorCall
impl Debug for CoProcessorCall
Source§impl PartialEq for CoProcessorCall
impl PartialEq for CoProcessorCall
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> 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
Compare self to
key and return true if they are equal.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