Struct itron_solid_fmp3::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
Get the raw object ID as abi::NonNullID
.
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.