Struct ashpd::desktop::memory_monitor::MemoryMonitorProxy[][src]

pub struct MemoryMonitorProxy<'a>(_);
Expand description

The interface provides information about low system memory to sandboxed applications. It is not a portal in the strict sense, since it does not involve user interaction.

Implementations

Create a new instance of MemoryMonitorProxy.

Get a reference to the underlying Proxy.

Signal emitted when a particular low memory situation happens with 0 being the lowest level of memory availability warning, and 255 being the highest.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.