#[repr(C)]pub struct rmw_client_t {
pub service_name: *const c_char,
pub type_name: *const c_char,
pub _reserved: [u8; 8],
pub backend_data: *mut c_void,
}Expand description
Client entity (phase-301: renamed from service_client to the upstream rmw_client_t term). Same shape as the service.
Fields§
§service_name: *const c_charService name (borrowed; outlives the client).
type_name: *const c_charFully-qualified service type name. Borrowed.
_reserved: [u8; 8]Reserved for future fields; must be zero.
backend_data: *mut c_voidOpaque backend state. NULL if creation failed.
Trait Implementations§
Source§impl Clone for rmw_client_t
impl Clone for rmw_client_t
Source§fn clone(&self) -> rmw_client_t
fn clone(&self) -> rmw_client_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for rmw_client_t
Auto Trait Implementations§
impl !Send for rmw_client_t
impl !Sync for rmw_client_t
impl Freeze for rmw_client_t
impl RefUnwindSafe for rmw_client_t
impl Unpin for rmw_client_t
impl UnsafeUnpin for rmw_client_t
impl UnwindSafe for rmw_client_t
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