Struct lrs::msg_queue::MsgQueue

A kernel message queue.

Syntax

struct MsgQueue {
    /* private fields */
}

Static methods

NameDescription
open

Opens or creates a message queue.

Methods

ReceiverNameDescription
&selfattributes

Returns the attributes of the message queue.

&selfrecv

Receives a message over the message queue.

&selfrecv_timeout

Receives a message over the message queue with a timeout.

&selfsend

Sends a message over the message queue.

&selfsend_timeout

Sends a message over the message queue with a timeout.

&selfset_attributes

Sets the attributes of the message queue.

Trait implementations

NameDescription
Drop

Objects with a destructor.

FDContainer

Objects that are file descriptor wrappers.

UndefState

Types that are not valid when they contain certain bit patterns.