pub struct MemoryExamples;Expand description
Examples for memory management
Implementations§
Source§impl MemoryExamples
impl MemoryExamples
Sourcepub fn memory_pool_usage() -> Result<()>
pub fn memory_pool_usage() -> Result<()>
Memory pool usage
Sourcepub fn memory_monitoring() -> Result<()>
pub fn memory_monitoring() -> Result<()>
System memory monitoring
Auto Trait Implementations§
impl Freeze for MemoryExamples
impl RefUnwindSafe for MemoryExamples
impl Send for MemoryExamples
impl Sync for MemoryExamples
impl Unpin for MemoryExamples
impl UnwindSafe for MemoryExamples
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