pub enum CreateFlag {
NoAllocation,
AllocateIfConvenient,
Allocate,
}
Variants§
NoAllocation
Do not allocate a new page. Return NULL.
AllocateIfConvenient
Allocate a new page if it easy and convenient to do so. Otherwise return NULL.
Allocate
Make every effort to allocate a new page. Only return NULL if allocating a new page is effectively impossible.
Auto Trait Implementations§
impl Freeze for CreateFlag
impl RefUnwindSafe for CreateFlag
impl Send for CreateFlag
impl Sync for CreateFlag
impl Unpin for CreateFlag
impl UnwindSafe for CreateFlag
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