pub enum ReserveOutcome {
NotRequested,
Pinned,
Reserved,
Failed,
}Expand description
Outcome of the reservation requested by Config::reserve.
Variants§
NotRequested
No reservation was requested.
Pinned
The reservation is a pinned arena that is never purged.
Reserved
The reservation is an ordinary arena managed by mimalloc.
Failed
The operating system or mimalloc refused the reservation. Allocation continues from on-demand arenas.
Trait Implementations§
Source§impl Clone for ReserveOutcome
impl Clone for ReserveOutcome
impl Copy for ReserveOutcome
Source§impl Debug for ReserveOutcome
impl Debug for ReserveOutcome
impl Eq for ReserveOutcome
Source§impl PartialEq for ReserveOutcome
impl PartialEq for ReserveOutcome
impl StructuralPartialEq for ReserveOutcome
Auto Trait Implementations§
impl Freeze for ReserveOutcome
impl RefUnwindSafe for ReserveOutcome
impl Send for ReserveOutcome
impl Sync for ReserveOutcome
impl Unpin for ReserveOutcome
impl UnsafeUnpin for ReserveOutcome
impl UnwindSafe for ReserveOutcome
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