pub enum ClaimError<A> {
AddressInUse(A),
RegistrationIdsExhausted(A),
}Expand description
The reason an address claim failed.
Variants§
AddressInUse(A)
An owner is already registered at the returned address.
RegistrationIdsExhausted(A)
This address space has issued every available registration identity.
Exhaustion is permanent: identities are never wrapped or reused.
Trait Implementations§
Source§impl<A: Clone> Clone for ClaimError<A>
impl<A: Clone> Clone for ClaimError<A>
Source§fn clone(&self) -> ClaimError<A>
fn clone(&self) -> ClaimError<A>
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 moreSource§impl<A: Debug> Debug for ClaimError<A>
impl<A: Debug> Debug for ClaimError<A>
impl<A: Eq> Eq for ClaimError<A>
Source§impl<A: PartialEq> PartialEq for ClaimError<A>
impl<A: PartialEq> PartialEq for ClaimError<A>
impl<A: PartialEq> StructuralPartialEq for ClaimError<A>
Auto Trait Implementations§
impl<A> Freeze for ClaimError<A>where
A: Freeze,
impl<A> RefUnwindSafe for ClaimError<A>where
A: RefUnwindSafe,
impl<A> Send for ClaimError<A>where
A: Send,
impl<A> Sync for ClaimError<A>where
A: Sync,
impl<A> Unpin for ClaimError<A>where
A: Unpin,
impl<A> UnsafeUnpin for ClaimError<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for ClaimError<A>where
A: UnwindSafe,
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