#[repr(C)]pub struct NrosRmwSubscriber {
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
Subscriber entity. Mirrors nros_rmw_subscriber_t.
Fields§
§topic_name: *const u8Borrowed; outlives the subscriber.
type_name: *const u8Borrowed; outlives the subscriber.
qos: NrosRmwQos§can_loan_messages: boolBackend exposes loan_recv / release_recv (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 NrosRmwSubscriber
impl RefUnwindSafe for NrosRmwSubscriber
impl !Send for NrosRmwSubscriber
impl !Sync for NrosRmwSubscriber
impl Unpin for NrosRmwSubscriber
impl UnsafeUnpin for NrosRmwSubscriber
impl UnwindSafe for NrosRmwSubscriber
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