#[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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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