pub struct BuiltinEndpointSample { /* private fields */ }Implementations§
Source§impl BuiltinEndpointSample
impl BuiltinEndpointSample
pub fn key(&self) -> dds_guid_t
pub fn participant_key(&self) -> dds_guid_t
pub fn participant_instance_handle(&self) -> dds_instance_handle_t
pub fn topic_name(&self) -> String
pub fn type_name_value(&self) -> String
Sourcepub fn type_name(&self) -> String
pub fn type_name(&self) -> String
Alias for type_name_value() for ergonomic API
consistency with the cyclonedds-python binding.
pub fn qos(&self) -> DdsResult<Option<Qos>>
pub fn type_info(&self) -> DdsResult<TypeInfo>
pub fn create_topic_descriptor( &self, participant: &DomainParticipant, scope: FindScope, timeout: dds_duration_t, ) -> DdsResult<TopicDescriptor>
pub fn create_topic( &self, participant: &DomainParticipant, scope: FindScope, timeout: dds_duration_t, ) -> DdsResult<UntypedTopic>
pub fn create_topic_with_qos( &self, participant: &DomainParticipant, scope: FindScope, timeout: dds_duration_t, qos: &Qos, ) -> DdsResult<UntypedTopic>
pub fn find_topic( &self, participant: &DomainParticipant, scope: FindScope, timeout: dds_duration_t, ) -> DdsResult<Option<UntypedTopic>>
pub fn minimal_type_object( &self, participant: &DomainParticipant, timeout: dds_duration_t, ) -> DdsResult<Option<TypeObject>>
pub fn complete_type_object( &self, participant: &DomainParticipant, timeout: dds_duration_t, ) -> DdsResult<Option<TypeObject>>
Trait Implementations§
Source§impl Clone for BuiltinEndpointSample
impl Clone for BuiltinEndpointSample
Source§impl DdsType for BuiltinEndpointSample
impl DdsType for BuiltinEndpointSample
Source§type Native = BuiltinEndpointSample
type Native = BuiltinEndpointSample
The DDS wire-compatible representation of this type — what CycloneDDS’s
topic descriptor (
m_size/m_ops, see DdsType::descriptor_size) and
the loan APIs (crate::DataWriter::request_loan) actually operate on. Read morefn type_name() -> &'static str
fn ops() -> Vec<u32>
Source§fn descriptor_size() -> u32
fn descriptor_size() -> u32
Size CycloneDDS allocates for one sample of this type. Read more
Source§fn descriptor_align() -> u32
fn descriptor_align() -> u32
Alignment CycloneDDS uses for one sample. See
DdsType::descriptor_size.fn write_to_native<'a>( &'a self, _arena: &'a mut WriteArena, ) -> DdsResult<*const c_void>
fn key_count() -> usize
fn keys() -> Vec<KeyDescriptor>
fn flagset() -> u32
fn post_key_ops() -> Vec<u32>
Source§impl Debug for BuiltinEndpointSample
impl Debug for BuiltinEndpointSample
Source§impl Drop for BuiltinEndpointSample
impl Drop for BuiltinEndpointSample
impl Send for BuiltinEndpointSample
Auto Trait Implementations§
impl !Sync for BuiltinEndpointSample
impl Freeze for BuiltinEndpointSample
impl RefUnwindSafe for BuiltinEndpointSample
impl Unpin for BuiltinEndpointSample
impl UnsafeUnpin for BuiltinEndpointSample
impl UnwindSafe for BuiltinEndpointSample
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request