Trait px4::uorb::Publish

source ·
pub trait Publish {
    fn advertise() -> Publisher<Self>
    where
        Self: Sized
; fn advertise_queue(queue_size: u32) -> Publisher<Self>
    where
        Self: Sized
; fn advertise_multi(priority: i32) -> Publisher<Self>
    where
        Self: Sized
; fn advertise_multi_queue(priority: i32, queue_size: u32) -> Publisher<Self>
    where
        Self: Sized
; }
Expand description

Use one of the functions below to create a Publisher.

They are automatically implemented on all Messages.

The functions are lazy: The messages aren’t advertised directly, but only on the first call to publish.

Required Methods

Implementors