#[repr(u32)]pub enum ReclaimError {
Show 15 variants
InvalidEpochDuration = 0,
InvalidEpochIndex = 1,
InvalidWitness = 2,
Unauthorized = 3,
HostTooLong = 4,
ProviderTooLong = 5,
InvalidWitnessClaimCount = 6,
EpochAlreadyExists = 7,
MaxEpochLengthReached = 8,
MaxWitnessesReached = 9,
MemberAlreadyExists = 10,
MaxMembersReached = 11,
InvalidIdentifier = 12,
InvalidWitnessSignature = 13,
ArithmeticPanic = 14,
}Variants§
InvalidEpochDuration = 0
InvalidEpochIndex = 1
InvalidWitness = 2
HostTooLong = 4
ProviderTooLong = 5
InvalidWitnessClaimCount = 6
EpochAlreadyExists = 7
MaxEpochLengthReached = 8
MaxWitnessesReached = 9
MemberAlreadyExists = 10
MaxMembersReached = 11
InvalidIdentifier = 12
InvalidWitnessSignature = 13
ArithmeticPanic = 14
Implementations§
Trait Implementations§
Source§impl Clone for ReclaimError
impl Clone for ReclaimError
Source§fn clone(&self) -> ReclaimError
fn clone(&self) -> ReclaimError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReclaimError
Source§impl Debug for ReclaimError
impl Debug for ReclaimError
Source§impl Display for ReclaimError
impl Display for ReclaimError
Source§impl From<ReclaimError> for u32
impl From<ReclaimError> for u32
Source§fn from(e: ReclaimError) -> u32
fn from(e: ReclaimError) -> u32
Converts to this type from the input type.
Source§impl From<ReclaimError> for Error
impl From<ReclaimError> for Error
Source§fn from(error_code: ReclaimError) -> Error
fn from(error_code: ReclaimError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReclaimError
impl RefUnwindSafe for ReclaimError
impl Send for ReclaimError
impl Sync for ReclaimError
impl Unpin for ReclaimError
impl UnsafeUnpin for ReclaimError
impl UnwindSafe for ReclaimError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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