#[repr(C)]pub struct receiver_state {
pub src_guid_prefix: ddsi_guid_prefix_t,
pub dst_guid_prefix: ddsi_guid_prefix_t,
pub reply_locators: *mut addrset,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
pub vendor: nn_vendorid_t,
pub protocol_version: nn_protocol_version_t,
pub conn: ddsi_tran_conn_t,
pub srcloc: nn_locator_t,
pub gv: *mut ddsi_domaingv,
}
Fields§
§src_guid_prefix: ddsi_guid_prefix_t
§dst_guid_prefix: ddsi_guid_prefix_t
§reply_locators: *mut addrset
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
§vendor: nn_vendorid_t
§protocol_version: nn_protocol_version_t
§conn: ddsi_tran_conn_t
§srcloc: nn_locator_t
§gv: *mut ddsi_domaingv
Implementations§
Source§impl receiver_state
impl receiver_state
pub fn forme(&self) -> u32
pub fn set_forme(&mut self, val: u32)
pub fn rtps_encoded(&self) -> u32
pub fn set_rtps_encoded(&mut self, val: u32)
pub fn new_bitfield_1( forme: u32, rtps_encoded: u32, ) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations§
Source§impl Clone for receiver_state
impl Clone for receiver_state
Source§fn clone(&self) -> receiver_state
fn clone(&self) -> receiver_state
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for receiver_state
Auto Trait Implementations§
impl Freeze for receiver_state
impl RefUnwindSafe for receiver_state
impl !Send for receiver_state
impl !Sync for receiver_state
impl Unpin for receiver_state
impl UnwindSafe for receiver_state
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