#[repr(u8)]pub enum ZkSyncRecursionLayerStorage<T: Clone + Debug + Serialize + DeserializeOwned> {
Show 23 variants
SchedulerCircuit(T),
NodeLayerCircuit(T),
LeafLayerCircuitForMainVM(T),
LeafLayerCircuitForCodeDecommittmentsSorter(T),
LeafLayerCircuitForCodeDecommitter(T),
LeafLayerCircuitForLogDemuxer(T),
LeafLayerCircuitForKeccakRoundFunction(T),
LeafLayerCircuitForSha256RoundFunction(T),
LeafLayerCircuitForECRecover(T),
LeafLayerCircuitForRAMPermutation(T),
LeafLayerCircuitForStorageSorter(T),
LeafLayerCircuitForStorageApplication(T),
LeafLayerCircuitForEventsSorter(T),
LeafLayerCircuitForL1MessagesSorter(T),
LeafLayerCircuitForL1MessagesHasher(T),
LeafLayerCircuitForTransientStorageSorter(T),
LeafLayerCircuitForSecp256r1Verify(T),
LeafLayerCircuitForEIP4844Repack(T),
LeafLayerCircuitForModexp(T),
LeafLayerCircuitForECAdd(T),
LeafLayerCircuitForECMul(T),
LeafLayerCircuitForECPairing(T),
RecursionTipCircuit(T),
}
Variants§
SchedulerCircuit(T)
NodeLayerCircuit(T)
LeafLayerCircuitForMainVM(T)
LeafLayerCircuitForCodeDecommittmentsSorter(T)
LeafLayerCircuitForCodeDecommitter(T)
LeafLayerCircuitForLogDemuxer(T)
LeafLayerCircuitForKeccakRoundFunction(T)
LeafLayerCircuitForSha256RoundFunction(T)
LeafLayerCircuitForECRecover(T)
LeafLayerCircuitForRAMPermutation(T)
LeafLayerCircuitForStorageSorter(T)
LeafLayerCircuitForStorageApplication(T)
LeafLayerCircuitForEventsSorter(T)
LeafLayerCircuitForL1MessagesSorter(T)
LeafLayerCircuitForL1MessagesHasher(T)
LeafLayerCircuitForTransientStorageSorter(T)
LeafLayerCircuitForSecp256r1Verify(T)
LeafLayerCircuitForEIP4844Repack(T)
LeafLayerCircuitForModexp(T)
LeafLayerCircuitForECAdd(T)
LeafLayerCircuitForECMul(T)
LeafLayerCircuitForECPairing(T)
RecursionTipCircuit(T)
Implementations§
Source§impl<T: Clone + Debug + Serialize + DeserializeOwned> ZkSyncRecursionLayerStorage<T>
impl<T: Clone + Debug + Serialize + DeserializeOwned> ZkSyncRecursionLayerStorage<T>
pub fn short_description(&self) -> &'static str
pub fn numeric_circuit_type(&self) -> u8
pub fn into_inner(self) -> T
pub fn from_inner(numeric_type: u8, inner: T) -> Self
pub fn leaf_circuit_from_base_type( base_type: BaseLayerCircuitType, inner: T, ) -> Self
Trait Implementations§
Source§impl<T: Clone + Debug + Serialize + DeserializeOwned> Clone for ZkSyncRecursionLayerStorage<T>
impl<T: Clone + Debug + Serialize + DeserializeOwned> Clone for ZkSyncRecursionLayerStorage<T>
Source§impl<T> Debug for ZkSyncRecursionLayerStorage<T>
impl<T> Debug for ZkSyncRecursionLayerStorage<T>
Source§impl<'de, T: Clone + Debug + Serialize + DeserializeOwned> Deserialize<'de> for ZkSyncRecursionLayerStorage<T>
impl<'de, T: Clone + Debug + Serialize + DeserializeOwned> Deserialize<'de> for ZkSyncRecursionLayerStorage<T>
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
Auto Trait Implementations§
impl<T> Freeze for ZkSyncRecursionLayerStorage<T>where
T: Freeze,
impl<T> RefUnwindSafe for ZkSyncRecursionLayerStorage<T>where
T: RefUnwindSafe,
impl<T> Send for ZkSyncRecursionLayerStorage<T>where
T: Send,
impl<T> Sync for ZkSyncRecursionLayerStorage<T>where
T: Sync,
impl<T> Unpin for ZkSyncRecursionLayerStorage<T>where
T: Unpin,
impl<T> UnwindSafe for ZkSyncRecursionLayerStorage<T>where
T: 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> CloneDebuggableStorage for Twhere
T: DebuggableStorage + Clone,
impl<T> CloneDebuggableStorage for Twhere
T: DebuggableStorage + Clone,
fn clone_storage(&self) -> Box<dyn CloneDebuggableStorage>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CloneableStorage for T
impl<T> CloneableStorage for T
fn clone_storage(&self) -> Box<dyn CloneableStorage>
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