pub struct EventHubConfig {
pub replay_capacity: usize,
pub subscriber_capacity: usize,
}Expand description
Event hub retention and subscriber queue limits.
Fields§
§replay_capacity: usizeNumber of events retained for reconnect replay.
subscriber_capacity: usizeNumber of events buffered per connected browser.
Trait Implementations§
Source§impl Clone for EventHubConfig
impl Clone for EventHubConfig
Source§fn clone(&self) -> EventHubConfig
fn clone(&self) -> EventHubConfig
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 moreimpl Copy for EventHubConfig
Source§impl Debug for EventHubConfig
impl Debug for EventHubConfig
Auto Trait Implementations§
impl Freeze for EventHubConfig
impl RefUnwindSafe for EventHubConfig
impl Send for EventHubConfig
impl Sync for EventHubConfig
impl Unpin for EventHubConfig
impl UnsafeUnpin for EventHubConfig
impl UnwindSafe for EventHubConfig
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