pub struct CacheCaps {
pub max_publications_per_participant: usize,
pub max_subscriptions_per_participant: usize,
}Expand description
Configuration (DoS caps).
Fields§
§max_publications_per_participant: usizeMax. publications per remote participant. Overflow → oldest publication of this participant is discarded (LRU).
max_subscriptions_per_participant: usizeMax. subscriptions per remote participant. Same semantics.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CacheCaps
impl RefUnwindSafe for CacheCaps
impl Send for CacheCaps
impl Sync for CacheCaps
impl Unpin for CacheCaps
impl UnsafeUnpin for CacheCaps
impl UnwindSafe for CacheCaps
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