struct BrokerState {
subs: HashMap<String, Vec<Sub>>,
next_msg: AtomicU64,
}Expand description
Destinations → subscribers, plus a process-wide message-id.
Fields§
§subs: HashMap<String, Vec<Sub>>§next_msg: AtomicU64Auto Trait Implementations§
impl !Freeze for BrokerState
impl RefUnwindSafe for BrokerState
impl Send for BrokerState
impl Sync for BrokerState
impl Unpin for BrokerState
impl UnwindSafe for BrokerState
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