pub struct PubSubConfig {
pub max_topics: usize,
pub max_messages_per_topic: usize,
}Expand description
Configuration for the pub/sub bus.
Fields§
§max_topics: usize§max_messages_per_topic: usizeTrait Implementations§
Source§impl Clone for PubSubConfig
impl Clone for PubSubConfig
Source§fn clone(&self) -> PubSubConfig
fn clone(&self) -> PubSubConfig
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 PubSubConfig
impl Debug for PubSubConfig
Auto Trait Implementations§
impl Freeze for PubSubConfig
impl RefUnwindSafe for PubSubConfig
impl Send for PubSubConfig
impl Sync for PubSubConfig
impl Unpin for PubSubConfig
impl UnsafeUnpin for PubSubConfig
impl UnwindSafe for PubSubConfig
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