#[non_exhaustive]pub enum RuntimeGrowError {
ArithmeticOverflow,
BucketExhausted {
required_buckets: u64,
capacity: u16,
},
BackingRefused {
additional_pages: u64,
},
ReentrantAccess,
ManagerRefused,
}Expand description
RuntimeGrowError
Failure to grow a runtime memory before assigning new manager buckets. Ordinary capacity failures preserve virtual extents and manager metadata. Backing traps and partial writes remain outside this guarantee.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ArithmeticOverflow
The requested virtual extent overflows the page count.
BucketExhausted
The sole manager has insufficient bucket slots.
BackingRefused
The backing memory refused the physical capacity reservation.
ReentrantAccess
Growth re-entered while another handle held a capacity reservation.
ManagerRefused
The manager refused growth despite the runtime’s successful preflight.
Trait Implementations§
Source§impl Clone for RuntimeGrowError
impl Clone for RuntimeGrowError
impl Copy for RuntimeGrowError
Source§impl Debug for RuntimeGrowError
impl Debug for RuntimeGrowError
Source§impl Display for RuntimeGrowError
impl Display for RuntimeGrowError
impl Eq for RuntimeGrowError
Source§impl Error for RuntimeGrowError
impl Error for RuntimeGrowError
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<P> From<RuntimeGrowError> for RuntimeBootstrapError<P>
impl<P> From<RuntimeGrowError> for RuntimeBootstrapError<P>
Source§fn from(source: RuntimeGrowError) -> Self
fn from(source: RuntimeGrowError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RuntimeGrowError
impl PartialEq for RuntimeGrowError
impl StructuralPartialEq for RuntimeGrowError
Auto Trait Implementations§
impl Freeze for RuntimeGrowError
impl RefUnwindSafe for RuntimeGrowError
impl Send for RuntimeGrowError
impl Sync for RuntimeGrowError
impl Unpin for RuntimeGrowError
impl UnsafeUnpin for RuntimeGrowError
impl UnwindSafe for RuntimeGrowError
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