Struct concordium_std::NotPayableError
source · [−]pub struct NotPayableError;
Expand description
Error triggered when a non-zero amount of CCD is sent to a contract
init or receive function that is not marked as payable
.
Trait Implementations
sourceimpl Clone for NotPayableError
impl Clone for NotPayableError
sourcefn clone(&self) -> NotPayableError
fn clone(&self) -> NotPayableError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NotPayableError
impl Debug for NotPayableError
sourceimpl From<NotPayableError> for Reject
impl From<NotPayableError> for Reject
The error code is i32::MIN + 12.
sourcefn from(_: NotPayableError) -> Self
fn from(_: NotPayableError) -> Self
Converts to this type from the input type.
impl Copy for NotPayableError
Auto Trait Implementations
impl RefUnwindSafe for NotPayableError
impl Send for NotPayableError
impl Sync for NotPayableError
impl Unpin for NotPayableError
impl UnwindSafe for NotPayableError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more