#[repr(u32)]pub enum AnvilZksyncCode {
AnvilEnvironment = 0,
AnvilGeneric = 1,
Halt = 2,
Revert = 3,
}
Expand description
Auto-generated discriminant enum variants
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AnvilZksyncCode
impl Clone for AnvilZksyncCode
Source§fn clone(&self) -> AnvilZksyncCode
fn clone(&self) -> AnvilZksyncCode
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 AnvilZksyncCode
impl Debug for AnvilZksyncCode
Source§impl<'de> Deserialize<'de> for AnvilZksyncCode
impl<'de> Deserialize<'de> for AnvilZksyncCode
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
Source§impl<'_enum> From<&'_enum AnvilZksync> for AnvilZksyncCode
impl<'_enum> From<&'_enum AnvilZksync> for AnvilZksyncCode
Source§fn from(val: &'_enum AnvilZksync) -> AnvilZksyncCode
fn from(val: &'_enum AnvilZksync) -> AnvilZksyncCode
Converts to this type from the input type.
Source§impl From<AnvilZksync> for AnvilZksyncCode
impl From<AnvilZksync> for AnvilZksyncCode
Source§fn from(val: AnvilZksync) -> AnvilZksyncCode
fn from(val: AnvilZksync) -> AnvilZksyncCode
Converts to this type from the input type.
Source§impl PartialEq for AnvilZksyncCode
impl PartialEq for AnvilZksyncCode
Source§impl Serialize for AnvilZksyncCode
impl Serialize for AnvilZksyncCode
impl Copy for AnvilZksyncCode
impl Eq for AnvilZksyncCode
impl StructuralPartialEq for AnvilZksyncCode
Auto Trait Implementations§
impl Freeze for AnvilZksyncCode
impl RefUnwindSafe for AnvilZksyncCode
impl Send for AnvilZksyncCode
impl Sync for AnvilZksyncCode
impl Unpin for AnvilZksyncCode
impl UnwindSafe for AnvilZksyncCode
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