pub enum NewContractNameError {
MissingInitPrefix,
TooLong,
ContainsDot,
InvalidCharacters,
}
Variants§
Trait Implementations§
source§impl Clone for NewContractNameError
impl Clone for NewContractNameError
source§fn clone(&self) -> NewContractNameError
fn clone(&self) -> NewContractNameError
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 NewContractNameError
impl Debug for NewContractNameError
source§impl Display for NewContractNameError
impl Display for NewContractNameError
source§impl Error for NewContractNameError
impl Error for NewContractNameError
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 From<NewContractNameError> for Reject
impl From<NewContractNameError> for Reject
MissingInitPrefix is mapped to i32::MIN + 5, TooLong to i32::MIN + 6, ContainsDot to i32::MIN + 9, and InvalidCharacters to i32::MIN + 10.
source§fn from(nre: NewContractNameError) -> Self
fn from(nre: NewContractNameError) -> Self
Converts to this type from the input type.