pub struct BridgeArgs {
pub src_domain: u32,
pub dst_domain: u32,
pub src_topic: String,
pub dst_topic: String,
pub duration: Option<Duration>,
pub bidirectional: bool,
}Expand description
Argumente für bridge.
Fields§
§src_domain: u32Source-Domain.
dst_domain: u32Destination-Domain.
src_topic: StringTopic auf Source-Seite.
dst_topic: StringTopic auf Destination-Seite (default == src_topic).
duration: Option<Duration>Maximale Lebensdauer; None = bis SIGINT.
bidirectional: boolBidirektional (sub<->pub auf beiden Seiten).
Trait Implementations§
Source§impl Clone for BridgeArgs
impl Clone for BridgeArgs
Source§fn clone(&self) -> BridgeArgs
fn clone(&self) -> BridgeArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BridgeArgs
impl Debug for BridgeArgs
Source§impl Default for BridgeArgs
impl Default for BridgeArgs
Source§impl PartialEq for BridgeArgs
impl PartialEq for BridgeArgs
Source§fn eq(&self, other: &BridgeArgs) -> bool
fn eq(&self, other: &BridgeArgs) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BridgeArgs
impl StructuralPartialEq for BridgeArgs
Auto Trait Implementations§
impl Freeze for BridgeArgs
impl RefUnwindSafe for BridgeArgs
impl Send for BridgeArgs
impl Sync for BridgeArgs
impl Unpin for BridgeArgs
impl UnsafeUnpin for BridgeArgs
impl UnwindSafe for BridgeArgs
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