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 duplicate 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)>
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<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.
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.
Source§impl PartialEq for NewContractNameError
impl PartialEq for NewContractNameError
impl Eq for NewContractNameError
impl StructuralPartialEq for NewContractNameError
Auto Trait Implementations§
impl Freeze for NewContractNameError
impl RefUnwindSafe for NewContractNameError
impl Send for NewContractNameError
impl Sync for NewContractNameError
impl Unpin for NewContractNameError
impl UnwindSafe for NewContractNameError
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