pub struct CustomContractErrorCode(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for CustomContractErrorCode
impl Clone for CustomContractErrorCode
impl Copy for CustomContractErrorCode
Source§impl Debug for CustomContractErrorCode
impl Debug for CustomContractErrorCode
Source§impl Display for CustomContractErrorCode
impl Display for CustomContractErrorCode
impl Eq 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
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CustomContractErrorCode
impl PartialEq for CustomContractErrorCode
Source§impl PartialOrd for CustomContractErrorCode
impl PartialOrd for CustomContractErrorCode
impl StructuralPartialEq for CustomContractErrorCode
Auto Trait Implementations§
impl Forget for CustomContractErrorCode
impl Freeze for CustomContractErrorCode
impl RefUnwindSafe for CustomContractErrorCode
impl Send for CustomContractErrorCode
impl Sync for CustomContractErrorCode
impl Unpin for CustomContractErrorCode
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more