Enum hpl_utils::errors::UtilErrors
source · #[repr(u32)]pub enum UtilErrors {
Overflow = 0,
InvalidNFT = 1,
InvalidNewAuthorityRecord = 2,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for UtilErrors
impl Clone for UtilErrors
source§fn clone(&self) -> UtilErrors
fn clone(&self) -> UtilErrors
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 UtilErrors
impl Debug for UtilErrors
source§impl Display for UtilErrors
impl Display for UtilErrors
source§impl From<UtilErrors> for Error
impl From<UtilErrors> for Error
source§fn from(error_code: UtilErrors) -> Error
fn from(error_code: UtilErrors) -> Error
Converts to this type from the input type.
source§impl From<UtilErrors> for u32
impl From<UtilErrors> for u32
source§fn from(e: UtilErrors) -> u32
fn from(e: UtilErrors) -> u32
Converts to this type from the input type.
impl Copy for UtilErrors
Auto Trait Implementations§
impl RefUnwindSafe for UtilErrors
impl Send for UtilErrors
impl Sync for UtilErrors
impl Unpin for UtilErrors
impl UnwindSafe for UtilErrors
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