#[repr(u8)]pub enum Error {
    SupplyMismatch,
    NonEqualAmounts,
    InvalidProof,
    InsufficientReserves,
    InsufficientCoverage,
    IssueExceedsAllowance,
}Variants§
SupplyMismatch
NonEqualAmounts
InvalidProof
InsufficientReserves
InsufficientCoverage
IssueExceedsAllowance
Trait Implementations§
source§impl PartialEq<Error> for Error
 
impl PartialEq<Error> for Error
source§impl StrictDecode for Error
 
impl StrictDecode for Error
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
source§impl StrictDumb for Error
 
impl StrictDumb for Error
fn strict_dumb() -> Self
source§impl StrictEncode for Error
 
impl StrictEncode for Error
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
source§impl StrictEnum for Error
 
impl StrictEnum for Error
fn from_variant_name(name: &FieldName) -> Result<Self, VariantError<&FieldName>>
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictSum for Error
 
impl StrictSum for Error
const ALL_VARIANTS: &'static [(u8, &'static str)] = _
fn variant_name(&self) -> &'static str
fn strict_check_variants()
fn variant_name_by_tag(tag: u8) -> Option<FieldName>
fn variant_ord(&self) -> u8
source§impl StrictType for Error
 
impl StrictType for Error
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB20
fn strict_name() -> Option<TypeName>
impl Copy for Error
impl Eq for Error
impl StructuralEq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.