pub struct LoopbackBroker { /* private fields */ }Expand description
A shared, in-process router for LoopbackTransports.
Clone a single broker into every transport that should share a namespace; a publish on one transport is delivered to every transport whose subscriptions match the topic. The broker is cheap to clone, and all clones share one routing table.
Implementations§
Trait Implementations§
Source§impl Clone for LoopbackBroker
impl Clone for LoopbackBroker
Source§fn clone(&self) -> LoopbackBroker
fn clone(&self) -> LoopbackBroker
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 Default for LoopbackBroker
impl Default for LoopbackBroker
Source§fn default() -> LoopbackBroker
fn default() -> LoopbackBroker
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LoopbackBroker
impl RefUnwindSafe for LoopbackBroker
impl Send for LoopbackBroker
impl Sync for LoopbackBroker
impl Unpin for LoopbackBroker
impl UnsafeUnpin for LoopbackBroker
impl UnwindSafe for LoopbackBroker
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