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