pub enum AllocationRejection {
Exhausted,
AddressAlreadyClaimed,
}Expand description
Failure to claim an address fresh with respect to the current actor configuration.
Variants§
Exhausted
The allocator has no address it can presently claim.
AddressAlreadyClaimed
The proposed address was already claimed; accepting it would violate actor-name freshness.
Trait Implementations§
Source§impl Clone for AllocationRejection
impl Clone for AllocationRejection
Source§fn clone(&self) -> AllocationRejection
fn clone(&self) -> AllocationRejection
Returns a duplicate 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 AllocationRejection
impl Debug for AllocationRejection
Source§impl Display for AllocationRejection
impl Display for AllocationRejection
Source§impl Error for AllocationRejection
impl Error for AllocationRejection
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for AllocationRejection
impl PartialEq for AllocationRejection
impl Copy for AllocationRejection
impl Eq for AllocationRejection
impl StructuralPartialEq for AllocationRejection
Auto Trait Implementations§
impl Freeze for AllocationRejection
impl RefUnwindSafe for AllocationRejection
impl Send for AllocationRejection
impl Sync for AllocationRejection
impl Unpin for AllocationRejection
impl UnsafeUnpin for AllocationRejection
impl UnwindSafe for AllocationRejection
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