Struct itron_asp3::mutex::MutexRef[][src]

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

A borrowed reference to a mutex.

Implementations

Construct a MutexRef 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_mtx: Delete the mutex.

Safety

See Object ID Wrappers.

ref_mtx: Get the mutex’s general information.

loc_mtx: Lock the mutex.

tloc_mtx: Lock the mutex with timeout.

ploc_mtx: Attempt to lock the mutex. Returns immediately if it’s already locked.

unl_mtx: Unlock the mutex.

ini_mtx: Initialize the mutex.

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.