#[repr(C)]pub struct NrosRmwPublisher {
pub topic_name: *const u8,
pub type_name: *const u8,
pub qos: NrosRmwQos,
pub can_loan_messages: bool,
pub _reserved: [u8; 7],
pub backend_data: *mut c_void,
}Expand description
Publisher entity. Mirrors nros_rmw_publisher_t.
can_loan_messages matches upstream rmw_publisher_t’s field of
the same name: true means the backend exposes the
loan_publish / commit_publish primitive (Phase 99).
Fields§
§topic_name: *const u8Borrowed; outlives the publisher.
type_name: *const u8Borrowed; outlives the publisher.
qos: NrosRmwQos§can_loan_messages: boolBackend exposes loan_publish / commit_publish (Phase 99).
_reserved: [u8; 7]Reserved for future fields; must be zero.
backend_data: *mut c_voidOpaque backend state. NULL when creation failed.
Auto Trait Implementations§
impl Freeze for NrosRmwPublisher
impl RefUnwindSafe for NrosRmwPublisher
impl !Send for NrosRmwPublisher
impl !Sync for NrosRmwPublisher
impl Unpin for NrosRmwPublisher
impl UnsafeUnpin for NrosRmwPublisher
impl UnwindSafe for NrosRmwPublisher
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more