Struct windows::System::MemoryManager
pub struct MemoryManager;
Implementations§
§impl MemoryManager
impl MemoryManager
pub fn AppMemoryUsage() -> Result<u64>
pub fn AppMemoryUsageLimit() -> Result<u64>
pub fn AppMemoryUsageLevel() -> Result<AppMemoryUsageLevel>
pub fn AppMemoryUsageIncreased<P0>(
handler: P0,
) -> Result<EventRegistrationToken>where
P0: Param<EventHandler<IInspectable>>,
pub fn RemoveAppMemoryUsageIncreased( token: EventRegistrationToken, ) -> Result<()>
pub fn AppMemoryUsageDecreased<P0>(
handler: P0,
) -> Result<EventRegistrationToken>where
P0: Param<EventHandler<IInspectable>>,
pub fn RemoveAppMemoryUsageDecreased( token: EventRegistrationToken, ) -> Result<()>
pub fn AppMemoryUsageLimitChanging<P0>(
handler: P0,
) -> Result<EventRegistrationToken>where
P0: Param<EventHandler<AppMemoryUsageLimitChangingEventArgs>>,
pub fn RemoveAppMemoryUsageLimitChanging( token: EventRegistrationToken, ) -> Result<()>
pub fn GetAppMemoryReport() -> Result<AppMemoryReport>
pub fn GetProcessMemoryReport() -> Result<ProcessMemoryReport>
pub fn TrySetAppMemoryUsageLimit(value: u64) -> Result<bool>
pub fn ExpectedAppMemoryUsageLimit() -> Result<u64>
Auto Trait Implementations§
impl Freeze for MemoryManager
impl RefUnwindSafe for MemoryManager
impl Send for MemoryManager
impl Sync for MemoryManager
impl Unpin for MemoryManager
impl UnwindSafe for MemoryManager
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