Struct itron_asp3::memorypool::MemoryPoolRef[][src]

pub struct MemoryPoolRef<'a> { /* fields omitted */ }
This is supported on crate feature unstable only.
Expand description

A borrowed reference to a memory pool.

Implementations

Construct a MemoryPoolRef from a raw object ID.

Safety

See Object ID Wrappers.

Get the raw object ID.

Get the raw object ID as abi::NonNullID.

This is supported on crate feature dcre only.

del_mpf: Delete the memory pool.

Safety

See Object ID Wrappers.

ref_mpf: Get the memory pool’s general information.

get_mpf: Acquire a memory block. Blocks the current task if no free memory blocks are available.

tget_mpf: Acquire a memory block. Blocks the current task with timeout if no free memory blocks are available.

pget_mpf: Acquire a memory block. Fails and returns immediately if no free memory blocks are available.

rel_mpf: Return a memory block to the memory pool.

ini_mpf: Initialize the memory pool.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.