Struct config

Source
#[repr(C)]
pub struct config {
Show 113 fields pub valid: c_int, pub tracemask: u32, pub enabled_xchecks: u32, pub servicename: *mut c_char, pub pcap_file: *mut c_char, pub networkAddressString: *mut c_char, pub networkRecvAddressStrings: *mut *mut c_char, pub externalAddressString: *mut c_char, pub externalMaskString: *mut c_char, pub tracefp: *mut FILE, pub tracefile: *mut c_char, pub tracingTimestamps: c_int, pub tracingAppendToFile: c_int, pub allowMulticast: u32, pub prefer_multicast: c_int, pub transport_selector: transport_selector, pub compat_use_ipv6: boolean_default, pub compat_tcp_enable: boolean_default, pub dontRoute: c_int, pub enableMulticastLoopback: c_int, pub domainId: u32, pub extDomainId: config_maybe_uint32, pub domainTag: *mut c_char, pub participantIndex: c_int, pub maxAutoParticipantIndex: c_int, pub spdpMulticastAddressString: *mut c_char, pub defaultMulticastAddressString: *mut c_char, pub assumeMulticastCapable: *mut c_char, pub spdp_interval: i64, pub spdp_response_delay_max: i64, pub lease_duration: i64, pub const_hb_intv_sched: i64, pub const_hb_intv_sched_min: i64, pub const_hb_intv_sched_max: i64, pub const_hb_intv_min: i64, pub retransmit_merging: retransmit_merging, pub retransmit_merging_period: i64, pub squash_participants: c_int, pub liveliness_monitoring: c_int, pub noprogress_log_stacktraces: c_int, pub liveliness_monitoring_interval: i64, pub prioritize_retransmit: c_int, pub xpack_send_async: c_int, pub multiple_recv_threads: boolean_default, pub recv_thread_stop_maxretries: c_uint, pub primary_reorder_maxsamples: c_uint, pub secondary_reorder_maxsamples: c_uint, pub delivery_queue_maxsamples: c_uint, pub fragment_size: u16, pub max_msg_size: u32, pub max_rexmit_msg_size: u32, pub init_transmit_extra_pct: u32, pub max_rexmit_burst_size: u32, pub publish_uc_locators: c_int, pub enable_uc_locators: c_int, pub tcp_nodelay: c_int, pub tcp_port: c_int, pub tcp_read_timeout: i64, pub tcp_write_timeout: i64, pub tcp_use_peeraddr_for_unicast: c_int, pub tp_enable: c_int, pub tp_threads: u32, pub tp_max_threads: u32, pub peers: *mut config_peer_listelem, pub peers_group: *mut config_peer_listelem, pub thread_properties: *mut config_thread_properties_listelem, pub xmit_lossiness: c_int, pub rmsg_chunk_size: u32, pub rbuf_size: u32, pub besmode: besmode, pub meas_hb_to_ack_latency: c_int, pub unicast_response_to_spdp_messages: c_int, pub synchronous_delivery_priority_threshold: c_int, pub synchronous_delivery_latency_bound: i64, pub whc_batch: c_int, pub whc_lowwater_mark: u32, pub whc_highwater_mark: u32, pub whc_init_highwater_mark: config_maybe_uint32, pub whc_adaptive: c_int, pub defrag_unreliable_maxsamples: c_uint, pub defrag_reliable_maxsamples: c_uint, pub accelerate_rexmit_block_size: c_uint, pub responsiveness_timeout: i64, pub max_participants: u32, pub writer_linger_duration: i64, pub multicast_ttl: c_int, pub socket_min_rcvbuf_size: config_maybe_uint32, pub socket_min_sndbuf_size: u32, pub ack_delay: i64, pub nack_delay: i64, pub preemptive_ack_delay: i64, pub schedule_time_rounding: i64, pub auto_resched_nack_delay: i64, pub ds_grace_period: i64, pub max_queued_rexmit_bytes: u32, pub max_queued_rexmit_msgs: c_uint, pub ddsi2direct_max_threads: c_uint, pub late_ack_mode: c_int, pub retry_on_reject_besteffort: c_int, pub generate_keyhash: c_int, pub max_sample_size: u32, pub standards_conformance: nn_standards_conformance, pub explicitly_publish_qos_set_to_default: c_int, pub many_sockets_mode: many_sockets_mode, pub assume_rti_has_pmd_endpoints: c_int, pub ports: ddsi_portmapping, pub monitor_port: c_int, pub enable_control_topic: c_int, pub initial_deaf: c_int, pub initial_mute: c_int, pub initial_deaf_mute_reset: i64, pub use_multicast_if_mreqn: c_int, pub prune_deleted_ppant: prune_deleted_ppant,
}

Fields§

§valid: c_int§tracemask: u32§enabled_xchecks: u32§servicename: *mut c_char§pcap_file: *mut c_char§networkAddressString: *mut c_char§networkRecvAddressStrings: *mut *mut c_char§externalAddressString: *mut c_char§externalMaskString: *mut c_char§tracefp: *mut FILE§tracefile: *mut c_char§tracingTimestamps: c_int§tracingAppendToFile: c_int§allowMulticast: u32§prefer_multicast: c_int§transport_selector: transport_selector§compat_use_ipv6: boolean_default§compat_tcp_enable: boolean_default§dontRoute: c_int§enableMulticastLoopback: c_int§domainId: u32§extDomainId: config_maybe_uint32§domainTag: *mut c_char§participantIndex: c_int§maxAutoParticipantIndex: c_int§spdpMulticastAddressString: *mut c_char§defaultMulticastAddressString: *mut c_char§assumeMulticastCapable: *mut c_char§spdp_interval: i64§spdp_response_delay_max: i64§lease_duration: i64§const_hb_intv_sched: i64§const_hb_intv_sched_min: i64§const_hb_intv_sched_max: i64§const_hb_intv_min: i64§retransmit_merging: retransmit_merging§retransmit_merging_period: i64§squash_participants: c_int§liveliness_monitoring: c_int§noprogress_log_stacktraces: c_int§liveliness_monitoring_interval: i64§prioritize_retransmit: c_int§xpack_send_async: c_int§multiple_recv_threads: boolean_default§recv_thread_stop_maxretries: c_uint§primary_reorder_maxsamples: c_uint§secondary_reorder_maxsamples: c_uint§delivery_queue_maxsamples: c_uint§fragment_size: u16§max_msg_size: u32§max_rexmit_msg_size: u32§init_transmit_extra_pct: u32§max_rexmit_burst_size: u32§publish_uc_locators: c_int§enable_uc_locators: c_int§tcp_nodelay: c_int§tcp_port: c_int§tcp_read_timeout: i64§tcp_write_timeout: i64§tcp_use_peeraddr_for_unicast: c_int§tp_enable: c_int§tp_threads: u32§tp_max_threads: u32§peers: *mut config_peer_listelem§peers_group: *mut config_peer_listelem§thread_properties: *mut config_thread_properties_listelem§xmit_lossiness: c_int§rmsg_chunk_size: u32§rbuf_size: u32§besmode: besmode§meas_hb_to_ack_latency: c_int§unicast_response_to_spdp_messages: c_int§synchronous_delivery_priority_threshold: c_int§synchronous_delivery_latency_bound: i64§whc_batch: c_int§whc_lowwater_mark: u32§whc_highwater_mark: u32§whc_init_highwater_mark: config_maybe_uint32§whc_adaptive: c_int§defrag_unreliable_maxsamples: c_uint§defrag_reliable_maxsamples: c_uint§accelerate_rexmit_block_size: c_uint§responsiveness_timeout: i64§max_participants: u32§writer_linger_duration: i64§multicast_ttl: c_int§socket_min_rcvbuf_size: config_maybe_uint32§socket_min_sndbuf_size: u32§ack_delay: i64§nack_delay: i64§preemptive_ack_delay: i64§schedule_time_rounding: i64§auto_resched_nack_delay: i64§ds_grace_period: i64§max_queued_rexmit_bytes: u32§max_queued_rexmit_msgs: c_uint§ddsi2direct_max_threads: c_uint§late_ack_mode: c_int§retry_on_reject_besteffort: c_int§generate_keyhash: c_int§max_sample_size: u32§standards_conformance: nn_standards_conformance§explicitly_publish_qos_set_to_default: c_int§many_sockets_mode: many_sockets_mode§assume_rti_has_pmd_endpoints: c_int§ports: ddsi_portmapping§monitor_port: c_int§enable_control_topic: c_int§initial_deaf: c_int§initial_mute: c_int§initial_deaf_mute_reset: i64§use_multicast_if_mreqn: c_int§prune_deleted_ppant: prune_deleted_ppant

Trait Implementations§

Source§

impl Clone for config

Source§

fn clone(&self) -> config

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for config

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for config

Auto Trait Implementations§

§

impl Freeze for config

§

impl RefUnwindSafe for config

§

impl !Send for config

§

impl !Sync for config

§

impl Unpin for config

§

impl UnwindSafe for config

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.