Method lrs::msg_queue::MsgQueue::send

Sends a message over the message queue.

Syntax

impl MsgQueue {
    fn send(&self, msg: &[u8], priority: u16) -> Result<(), Errno>
}

Arguments

NameDescription
msg

The message to be sent.

priority

The priority of the message.

Remarks

The priority should be between 0 and i16::max().

See also