pub enum FreshParticipantCapacityCounterInvariantError {
Capacity(CapacityCounterInvariantError),
Nonempty {
occupied: u64,
},
}Expand description
Invalid restored occupancy for a participant that has not yet been minted.
Variants§
Capacity(CapacityCounterInvariantError)
The underlying nonzero bounded counter is invalid.
Nonempty
A not-yet-minted participant cannot already own receipt state.
Trait Implementations§
Source§impl Clone for FreshParticipantCapacityCounterInvariantError
impl Clone for FreshParticipantCapacityCounterInvariantError
Source§fn clone(&self) -> FreshParticipantCapacityCounterInvariantError
fn clone(&self) -> FreshParticipantCapacityCounterInvariantError
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 FreshParticipantCapacityCounterInvariantError
impl Eq for FreshParticipantCapacityCounterInvariantError
impl StructuralPartialEq for FreshParticipantCapacityCounterInvariantError
Auto Trait Implementations§
impl Freeze for FreshParticipantCapacityCounterInvariantError
impl RefUnwindSafe for FreshParticipantCapacityCounterInvariantError
impl Send for FreshParticipantCapacityCounterInvariantError
impl Sync for FreshParticipantCapacityCounterInvariantError
impl Unpin for FreshParticipantCapacityCounterInvariantError
impl UnsafeUnpin for FreshParticipantCapacityCounterInvariantError
impl UnwindSafe for FreshParticipantCapacityCounterInvariantError
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