[][src]Trait heim::memory::os::macos::MemoryExt

pub trait MemoryExt {
    fn active(
        &self
    ) -> Quantity<dyn Dimension<N = Z0, T = Z0, J = Z0, L = Z0, Kind = dyn InformationKind + 'static, Th = Z0, M = Z0, I = Z0> + 'static, dyn Units<u64, amount_of_substance = mole, mass = kilogram, length = meter, electric_current = ampere, luminous_intensity = candela, time = second, thermodynamic_temperature = kelvin> + 'static, u64>;
fn inactive(
        &self
    ) -> Quantity<dyn Dimension<N = Z0, T = Z0, J = Z0, L = Z0, Kind = dyn InformationKind + 'static, Th = Z0, M = Z0, I = Z0> + 'static, dyn Units<u64, amount_of_substance = mole, mass = kilogram, length = meter, electric_current = ampere, luminous_intensity = candela, time = second, thermodynamic_temperature = kelvin> + 'static, u64>;
fn wire(
        &self
    ) -> Quantity<dyn Dimension<N = Z0, T = Z0, J = Z0, L = Z0, Kind = dyn InformationKind + 'static, Th = Z0, M = Z0, I = Z0> + 'static, dyn Units<u64, amount_of_substance = mole, mass = kilogram, length = meter, electric_current = ampere, luminous_intensity = candela, time = second, thermodynamic_temperature = kelvin> + 'static, u64>; }

MacOS-specific extension to [Memory]

Required methods

fn active(
    &self
) -> Quantity<dyn Dimension<N = Z0, T = Z0, J = Z0, L = Z0, Kind = dyn InformationKind + 'static, Th = Z0, M = Z0, I = Z0> + 'static, dyn Units<u64, amount_of_substance = mole, mass = kilogram, length = meter, electric_current = ampere, luminous_intensity = candela, time = second, thermodynamic_temperature = kelvin> + 'static, u64>

Returns memory currently in use or very recently used, and so it is in RAM.

fn inactive(
    &self
) -> Quantity<dyn Dimension<N = Z0, T = Z0, J = Z0, L = Z0, Kind = dyn InformationKind + 'static, Th = Z0, M = Z0, I = Z0> + 'static, dyn Units<u64, amount_of_substance = mole, mass = kilogram, length = meter, electric_current = ampere, luminous_intensity = candela, time = second, thermodynamic_temperature = kelvin> + 'static, u64>

Returns memory that is marked as not used.

fn wire(
    &self
) -> Quantity<dyn Dimension<N = Z0, T = Z0, J = Z0, L = Z0, Kind = dyn InformationKind + 'static, Th = Z0, M = Z0, I = Z0> + 'static, dyn Units<u64, amount_of_substance = mole, mass = kilogram, length = meter, electric_current = ampere, luminous_intensity = candela, time = second, thermodynamic_temperature = kelvin> + 'static, u64>

Returns memory that is marked to always stay in RAM. It is never moved to disk.

Loading content...

Implementors

impl MemoryExt for Memory[src]

Loading content...