pub struct CustomContractErrorCode(/* private fields */);
Implementations§
Trait Implementations§
Source§impl Clone for CustomContractErrorCode
impl Clone for CustomContractErrorCode
Source§fn clone(&self) -> CustomContractErrorCode
fn clone(&self) -> CustomContractErrorCode
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 CustomContractErrorCode
impl Debug for CustomContractErrorCode
Source§impl Display for CustomContractErrorCode
impl Display for CustomContractErrorCode
Source§impl From<CustomContractErrorCode> for ContractError
impl From<CustomContractErrorCode> for ContractError
Source§fn from(error: CustomContractErrorCode) -> Self
fn from(error: CustomContractErrorCode) -> Self
Converts to this type from the input type.
Source§impl Hash for CustomContractErrorCode
impl Hash for CustomContractErrorCode
Source§impl Ord for CustomContractErrorCode
impl Ord for CustomContractErrorCode
Source§fn cmp(&self, other: &CustomContractErrorCode) -> Ordering
fn cmp(&self, other: &CustomContractErrorCode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CustomContractErrorCode
impl PartialEq for CustomContractErrorCode
Source§impl PartialOrd for CustomContractErrorCode
impl PartialOrd for CustomContractErrorCode
impl Copy for CustomContractErrorCode
impl Eq for CustomContractErrorCode
impl StructuralPartialEq for CustomContractErrorCode
Auto Trait Implementations§
impl Freeze for CustomContractErrorCode
impl RefUnwindSafe for CustomContractErrorCode
impl Send for CustomContractErrorCode
impl Sync for CustomContractErrorCode
impl Unpin for CustomContractErrorCode
impl UnwindSafe for CustomContractErrorCode
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