pub enum Instantiate2AddressError {
InvalidChecksumLength,
InvalidSaltLength,
}
Variants§
InvalidChecksumLength
Checksum must be 32 bytes
InvalidSaltLength
Salt must be between 1 and 64 bytes
Trait Implementations§
source§impl Debug for Instantiate2AddressError
impl Debug for Instantiate2AddressError
source§impl Display for Instantiate2AddressError
impl Display for Instantiate2AddressError
source§impl Error for Instantiate2AddressError
impl Error for Instantiate2AddressError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PartialEq<Instantiate2AddressError> for Instantiate2AddressError
impl PartialEq<Instantiate2AddressError> for Instantiate2AddressError
source§fn eq(&self, other: &Instantiate2AddressError) -> bool
fn eq(&self, other: &Instantiate2AddressError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.