[−][src]Enum casper_types::system_contract_errors::mint::Error
Errors which can occur while executing the Mint contract.
Variants
Insufficient funds to complete the transfer.
Source purse not found.
Destination purse not found.
Tried to create a new purse with a non-zero initial balance.
Failed to read from local or global storage.
Purse not found while trying to get balance.
Unable to obtain a key by its name.
Total supply not found.
Failed to record transfer.
Invalid attempt to reduce total supply.
Failed to create new uref.
Failed to put key.
Failed to write local key.
Failed to create a crate::CLValue
.
Failed to serialize data.
Source and target purse crate::URef
s are equal.
Trait Implementations
impl CLTyped for Error
[src]
impl Clone for Error
[src]
impl Copy for Error
[src]
impl Debug for Error
[src]
impl Display for Error
[src]
impl Eq for Error
[src]
impl Fail for Error
[src]
pub fn name(&self) -> Option<&str>
[src]
pub fn cause(&self) -> Option<&dyn Fail>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
pub fn compat(self) -> Compat<Self>
[src]
impl From<Error> for ApiError
[src]
impl From<Error> for Error
[src]
impl From<PurseError> for Error
[src]
pub fn from(purse_error: PurseError) -> Error
[src]
impl FromBytes for Error
[src]
pub fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error>
[src]
pub fn from_vec(bytes: Vec<u8>) -> Result<(Self, Vec<u8>), Error>
[src]
impl PartialEq<Error> for Error
[src]
pub fn eq(&self, other: &Error) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for Error
[src]
impl StructuralPartialEq for Error
[src]
impl ToBytes for Error
[src]
Auto Trait Implementations
impl RefUnwindSafe for Error
[src]
impl Send for Error
[src]
impl Sync for Error
[src]
impl Unpin for Error
[src]
impl UnwindSafe for Error
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail,
[src]
T: Fail,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,