pub struct EventOptions {
pub max_events: usize,
pub max_bytes: usize,
}Expand description
Capacity for connection-event history or one event subscription.
Fields§
§max_events: usizeMaximum retained events (32 by default).
max_bytes: usizeMaximum accounted bytes (1 MiB by default).
Implementations§
Trait Implementations§
Source§impl Clone for EventOptions
impl Clone for EventOptions
Source§impl Debug for EventOptions
impl Debug for EventOptions
Auto Trait Implementations§
impl Forget for EventOptions
impl Freeze for EventOptions
impl Move for EventOptions
impl RefUnwindSafe for EventOptions
impl Send for EventOptions
impl Sync for EventOptions
impl Unpin for EventOptions
impl UnsafeUnpin for EventOptions
impl UnwindSafe for EventOptions
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