Qos

Struct Qos 

Source
pub struct Qos {
Show 27 fields pub user_data: Option<Vec<u8>>, pub topic_data: Option<Vec<u8>>, pub group_data: Option<Vec<u8>>, pub durability: Option<Durability>, pub durability_service: Option<DurabilityService>, pub presentation: Option<Presentation>, pub deadline: Option<Deadline>, pub latency_budget: Option<LatencyBudget>, pub ownership: Option<Ownership>, pub ownership_strength: Option<OwnershipStrength>, pub liveliness: Option<Liveliness>, pub time_based_filter: Option<TimeBasedFilter>, pub partition: Option<Vec<String>>, pub reliability: Option<Reliability>, pub transport_priority: Option<TransportPriority>, pub lifespan: Option<Lifespan>, pub destination_order: Option<DestinationOrder>, pub history: Option<History>, pub resource_limits: Option<ResourceLimits>, pub writer_data_lifecycle: Option<WriterDataLifecycle>, pub reader_data_lifecycle: Option<ReaderDataLifecycle>, pub writer_batching: Option<WriterBatching>, pub type_consistency: Option<TypeConsistency>, pub entity_name: Option<EntityName>, pub properties: Option<HashMap<String, String>>, pub ignore_local: Option<IgnoreLocal>, pub data_representation: Option<Vec<dds_data_representation_id_t>>,
}

Fields§

§user_data: Option<Vec<u8>>§topic_data: Option<Vec<u8>>§group_data: Option<Vec<u8>>§durability: Option<Durability>§durability_service: Option<DurabilityService>§presentation: Option<Presentation>§deadline: Option<Deadline>§latency_budget: Option<LatencyBudget>§ownership: Option<Ownership>§ownership_strength: Option<OwnershipStrength>§liveliness: Option<Liveliness>§time_based_filter: Option<TimeBasedFilter>§partition: Option<Vec<String>>§reliability: Option<Reliability>§transport_priority: Option<TransportPriority>§lifespan: Option<Lifespan>§destination_order: Option<DestinationOrder>§history: Option<History>§resource_limits: Option<ResourceLimits>§writer_data_lifecycle: Option<WriterDataLifecycle>§reader_data_lifecycle: Option<ReaderDataLifecycle>§writer_batching: Option<WriterBatching>§type_consistency: Option<TypeConsistency>§entity_name: Option<EntityName>§properties: Option<HashMap<String, String>>§ignore_local: Option<IgnoreLocal>§data_representation: Option<Vec<dds_data_representation_id_t>>

Implementations§

Source§

impl Qos

Source

pub unsafe fn from_qos_native(qos: *mut dds_qos_t) -> Self

Source

pub unsafe fn to_qos_native(&self) -> *mut dds_qos_t

Source

pub unsafe fn delete_qos_native(qos: *mut dds_qos_t)

Trait Implementations§

Source§

impl Clone for Qos

Source§

fn clone(&self) -> Qos

Returns a duplicate 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 Qos

Source§

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

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

impl Default for Qos

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Qos

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for Qos

Source§

fn eq(&self, other: &Qos) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for Qos

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for Qos

Source§

impl StructuralPartialEq for Qos

Auto Trait Implementations§

§

impl Freeze for Qos

§

impl RefUnwindSafe for Qos

§

impl Send for Qos

§

impl Sync for Qos

§

impl Unpin for Qos

§

impl UnwindSafe for Qos

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, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,