#[non_exhaustive]#[repr(u32)]pub enum ExecutionPlatformError {
GenericError {
message: String,
},
}
Expand description
Errors in the contract execution environment, bootloader, etc.
Domain: Core
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl AsRef<str> for ExecutionPlatform
impl AsRef<str> for ExecutionPlatform
Source§impl Clone for ExecutionPlatform
impl Clone for ExecutionPlatform
Source§fn clone(&self) -> ExecutionPlatform
fn clone(&self) -> ExecutionPlatform
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 CustomErrorMessage for ExecutionPlatform
impl CustomErrorMessage for ExecutionPlatform
fn get_message(&self) -> String
Source§impl Debug for ExecutionPlatform
impl Debug for ExecutionPlatform
Source§impl<'de> Deserialize<'de> for ExecutionPlatform
impl<'de> Deserialize<'de> for ExecutionPlatform
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 Display for ExecutionPlatform
impl Display for ExecutionPlatform
Source§impl Documented for ExecutionPlatform
impl Documented for ExecutionPlatform
type Documentation = &'static ErrorDocumentation
fn get_documentation( &self, ) -> Result<Option<Self::Documentation>, DocumentationError>
Source§impl Error for ExecutionPlatform
impl Error for ExecutionPlatform
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl<'_enum> From<&'_enum ExecutionPlatform> for ExecutionPlatformCode
impl<'_enum> From<&'_enum ExecutionPlatform> for ExecutionPlatformCode
Source§fn from(val: &'_enum ExecutionPlatform) -> ExecutionPlatformCode
fn from(val: &'_enum ExecutionPlatform) -> ExecutionPlatformCode
Converts to this type from the input type.
Source§impl From<Error> for ExecutionPlatform
impl From<Error> for ExecutionPlatform
Source§impl From<ExecutionPlatform> for Core
impl From<ExecutionPlatform> for Core
Source§fn from(val: ExecutionPlatform) -> Self
fn from(val: ExecutionPlatform) -> Self
Converts to this type from the input type.
Source§impl From<ExecutionPlatform> for ExecutionPlatformCode
impl From<ExecutionPlatform> for ExecutionPlatformCode
Source§fn from(val: ExecutionPlatform) -> ExecutionPlatformCode
fn from(val: ExecutionPlatform) -> ExecutionPlatformCode
Converts to this type from the input type.
Source§impl From<ExecutionPlatform> for PackedError<ZksyncError>
impl From<ExecutionPlatform> for PackedError<ZksyncError>
Source§fn from(value: ExecutionPlatform) -> Self
fn from(value: ExecutionPlatform) -> Self
Converts to this type from the input type.
Source§impl From<ExecutionPlatform> for SerializedError
impl From<ExecutionPlatform> for SerializedError
Source§fn from(value: ExecutionPlatform) -> Self
fn from(value: ExecutionPlatform) -> Self
Converts to this type from the input type.
Source§impl From<ExecutionPlatform> for ZksyncError
impl From<ExecutionPlatform> for ZksyncError
Source§fn from(val: ExecutionPlatform) -> Self
fn from(val: ExecutionPlatform) -> Self
Converts to this type from the input type.
Source§impl ICustomError<ZksyncError, ZksyncError> for ExecutionPlatform
impl ICustomError<ZksyncError, ZksyncError> for ExecutionPlatform
fn to_unified(&self) -> ZksyncError
Source§impl NamedError for ExecutionPlatform
impl NamedError for ExecutionPlatform
fn get_error_name(&self) -> String
Source§impl PartialEq for ExecutionPlatform
impl PartialEq for ExecutionPlatform
Source§impl Serialize for ExecutionPlatform
impl Serialize for ExecutionPlatform
impl Eq for ExecutionPlatform
impl StructuralPartialEq for ExecutionPlatform
Auto Trait Implementations§
impl Freeze for ExecutionPlatform
impl RefUnwindSafe for ExecutionPlatform
impl Send for ExecutionPlatform
impl Sync for ExecutionPlatform
impl Unpin for ExecutionPlatform
impl UnwindSafe for ExecutionPlatform
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