pub struct PackedError<U>{
pub identifier: Identifier,
pub message: String,
pub data: U,
}
Fields§
§identifier: Identifier
§message: String
§data: U
Trait Implementations§
Source§impl<U> Clone for PackedError<U>
impl<U> Clone for PackedError<U>
Source§fn clone(&self) -> PackedError<U>
fn clone(&self) -> PackedError<U>
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<U> Debug for PackedError<U>
impl<U> Debug for PackedError<U>
Source§impl<'de, U> Deserialize<'de> for PackedError<U>
impl<'de, U> Deserialize<'de> for PackedError<U>
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<T> Display for PackedError<T>
impl<T> Display for PackedError<T>
Source§impl<T> Error for PackedError<T>
impl<T> Error for PackedError<T>
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 From<API> for PackedError<ZksyncError>
impl From<API> for PackedError<ZksyncError>
Source§impl From<AnvilEnvironment> for PackedError<ZksyncError>
impl From<AnvilEnvironment> for PackedError<ZksyncError>
Source§fn from(value: AnvilEnvironment) -> Self
fn from(value: AnvilEnvironment) -> Self
Converts to this type from the input type.
Source§impl From<AnvilGeneric> for PackedError<ZksyncError>
impl From<AnvilGeneric> for PackedError<ZksyncError>
Source§fn from(value: AnvilGeneric) -> Self
fn from(value: AnvilGeneric) -> Self
Converts to this type from the input type.
Source§impl From<EraVM> for PackedError<ZksyncError>
impl From<EraVM> for PackedError<ZksyncError>
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<FoundryUpstream> for PackedError<ZksyncError>
impl From<FoundryUpstream> for PackedError<ZksyncError>
Source§fn from(value: FoundryUpstream) -> Self
fn from(value: FoundryUpstream) -> Self
Converts to this type from the input type.
Source§impl From<FoundryZksync> for PackedError<ZksyncError>
impl From<FoundryZksync> for PackedError<ZksyncError>
Source§fn from(value: FoundryZksync) -> Self
fn from(value: FoundryZksync) -> Self
Converts to this type from the input type.
Source§impl From<Halt> for PackedError<ZksyncError>
impl From<Halt> for PackedError<ZksyncError>
Source§impl From<HardhatUpstream> for PackedError<ZksyncError>
impl From<HardhatUpstream> for PackedError<ZksyncError>
Source§fn from(value: HardhatUpstream) -> Self
fn from(value: HardhatUpstream) -> Self
Converts to this type from the input type.
Source§impl From<HardhatZksync> for PackedError<ZksyncError>
impl From<HardhatZksync> for PackedError<ZksyncError>
Source§fn from(value: HardhatZksync) -> Self
fn from(value: HardhatZksync) -> Self
Converts to this type from the input type.
Source§impl From<LLVM_EVM> for PackedError<ZksyncError>
impl From<LLVM_EVM> for PackedError<ZksyncError>
Source§impl From<LLVM_Era> for PackedError<ZksyncError>
impl From<LLVM_Era> for PackedError<ZksyncError>
Source§impl From<Revert> for PackedError<ZksyncError>
impl From<Revert> for PackedError<ZksyncError>
Source§impl From<Sequencer> for PackedError<ZksyncError>
impl From<Sequencer> for PackedError<ZksyncError>
Source§impl From<Solc> for PackedError<ZksyncError>
impl From<Solc> for PackedError<ZksyncError>
Source§impl From<SolcFork> for PackedError<ZksyncError>
impl From<SolcFork> for PackedError<ZksyncError>
Source§impl From<Zksolc> for PackedError<ZksyncError>
impl From<Zksolc> for PackedError<ZksyncError>
Source§impl From<Zkvyper> for PackedError<ZksyncError>
impl From<Zkvyper> for PackedError<ZksyncError>
Source§impl<T> IError<T> for PackedError<T>
impl<T> IError<T> for PackedError<T>
fn get_identifier(&self) -> Identifier
fn get_message(&self) -> String
fn get_data(&self) -> T
Source§impl<U> PartialEq for PackedError<U>
impl<U> PartialEq for PackedError<U>
Source§impl<U> Serialize for PackedError<U>
impl<U> Serialize for PackedError<U>
impl<U> Eq for PackedError<U>
impl<U> StructuralPartialEq for PackedError<U>
Auto Trait Implementations§
impl<U> Freeze for PackedError<U>where
U: Freeze,
impl<U> RefUnwindSafe for PackedError<U>where
U: RefUnwindSafe,
impl<U> Send for PackedError<U>where
U: Send,
impl<U> Sync for PackedError<U>where
U: Sync,
impl<U> Unpin for PackedError<U>where
U: Unpin,
impl<U> UnwindSafe for PackedError<U>where
U: 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