pub struct MMapManager;Expand description
Memory mapping management utilities for GraphFile
Implementations§
Source§impl MMapManager
impl MMapManager
Sourcepub fn get_mmap_statistics(
mmap_size: u64,
is_initialized: bool,
) -> MMapStatistics
pub fn get_mmap_statistics( mmap_size: u64, is_initialized: bool, ) -> MMapStatistics
Get memory mapping statistics for debugging
Sourcepub fn is_mmap_available() -> bool
pub fn is_mmap_available() -> bool
Check if memory mapping is disabled
Sourcepub fn check_recursion_depth(
current_depth: u32,
max_depth: u32,
) -> NativeResult<()>
pub fn check_recursion_depth( current_depth: u32, max_depth: u32, ) -> NativeResult<()>
Check for recursion depth in mmap operations
Auto Trait Implementations§
impl Freeze for MMapManager
impl RefUnwindSafe for MMapManager
impl Send for MMapManager
impl Sync for MMapManager
impl Unpin for MMapManager
impl UnwindSafe for MMapManager
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more