Skip to main content

MemoryMonitorExt

Trait MemoryMonitorExt 

Source
pub trait MemoryMonitorExt: IsA<MemoryMonitor> + 'static {
    // Provided method
    fn connect_low_memory_warning<F>(&self, f: F) -> SignalHandlerId
       where F: Fn(&Self, MemoryMonitorWarningLevel) + 'static { ... }
}
Available on crate feature v2_64 only.

Provided Methods§

Source

fn connect_low_memory_warning<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self, MemoryMonitorWarningLevel) + 'static,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§