pub trait MemoryMonitorExt:
IsA<MemoryMonitor>
+ Sealed
+ 'static {
// Provided method
fn connect_low_memory_warning<F: Fn(&Self, MemoryMonitorWarningLevel) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Available on crate feature
v2_64
only.Provided Methods§
fn connect_low_memory_warning<F: Fn(&Self, MemoryMonitorWarningLevel) + 'static>( &self, f: F, ) -> SignalHandlerId
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.