pub struct MiddlewareRuntimeConfig {
pub route_rules: Vec<RouteRule>,
pub topic_qos_overrides: Vec<TopicQosOverride>,
pub namespace_isolation: bool,
pub topic_reliability_policy: TopicReliabilityPolicy,
}Fields§
§route_rules: Vec<RouteRule>§topic_qos_overrides: Vec<TopicQosOverride>§namespace_isolation: bool§topic_reliability_policy: TopicReliabilityPolicyImplementations§
Source§impl MiddlewareRuntimeConfig
impl MiddlewareRuntimeConfig
pub fn with_namespace_isolation(self, enabled: bool) -> Self
pub fn add_route_rule(self, rule: RouteRule) -> Self
pub fn add_topic_qos_override( self, topic: impl Into<String>, profile: QosProfile, ) -> Self
pub fn with_topic_reliability_policy( self, policy: TopicReliabilityPolicy, ) -> Self
Trait Implementations§
Source§impl Clone for MiddlewareRuntimeConfig
impl Clone for MiddlewareRuntimeConfig
Source§fn clone(&self) -> MiddlewareRuntimeConfig
fn clone(&self) -> MiddlewareRuntimeConfig
Returns a duplicate 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 moreSource§impl Debug for MiddlewareRuntimeConfig
impl Debug for MiddlewareRuntimeConfig
Source§impl Default for MiddlewareRuntimeConfig
impl Default for MiddlewareRuntimeConfig
Source§fn default() -> MiddlewareRuntimeConfig
fn default() -> MiddlewareRuntimeConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for MiddlewareRuntimeConfig
impl PartialEq for MiddlewareRuntimeConfig
impl Eq for MiddlewareRuntimeConfig
impl StructuralPartialEq for MiddlewareRuntimeConfig
Auto Trait Implementations§
impl Freeze for MiddlewareRuntimeConfig
impl RefUnwindSafe for MiddlewareRuntimeConfig
impl Send for MiddlewareRuntimeConfig
impl Sync for MiddlewareRuntimeConfig
impl Unpin for MiddlewareRuntimeConfig
impl UnsafeUnpin for MiddlewareRuntimeConfig
impl UnwindSafe for MiddlewareRuntimeConfig
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