pub struct RegionIdExhaustedError;Expand description
Error type returned when the process-wide region_id counter is exhausted.
This error is returned by the internal ID-issuance helper when the counter
has reached usize::MAX and transitioned to the exhausted sentinel (0).
After this point, all future Region::new/with_capacity calls will fail.
Trait Implementations§
Source§impl Clone for RegionIdExhaustedError
impl Clone for RegionIdExhaustedError
Source§fn clone(&self) -> RegionIdExhaustedError
fn clone(&self) -> RegionIdExhaustedError
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 RegionIdExhaustedError
Source§impl Debug for RegionIdExhaustedError
impl Debug for RegionIdExhaustedError
Source§impl Display for RegionIdExhaustedError
impl Display for RegionIdExhaustedError
impl Eq for RegionIdExhaustedError
Source§impl Error for RegionIdExhaustedError
impl Error for RegionIdExhaustedError
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 From<RegionIdExhaustedError> for TryReserveError
impl From<RegionIdExhaustedError> for TryReserveError
Source§fn from(err: RegionIdExhaustedError) -> Self
fn from(err: RegionIdExhaustedError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RegionIdExhaustedError
impl PartialEq for RegionIdExhaustedError
impl StructuralPartialEq for RegionIdExhaustedError
Auto Trait Implementations§
impl Freeze for RegionIdExhaustedError
impl RefUnwindSafe for RegionIdExhaustedError
impl Send for RegionIdExhaustedError
impl Sync for RegionIdExhaustedError
impl Unpin for RegionIdExhaustedError
impl UnsafeUnpin for RegionIdExhaustedError
impl UnwindSafe for RegionIdExhaustedError
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