pub struct JournalOptions {
pub max_events: usize,
pub max_bytes: usize,
}Expand description
Capacity limits for the connection lifecycle journal, constraining both the number of retained events and their measured byte total.
Fields§
§max_events: usizeMaximum number of events that may be retained; the minimum is 4 and the default is 32.
max_bytes: usizeMaximum measured bytes that may be retained for events; the minimum is 131,072 bytes and the default is 1 MiB.
Implementations§
Trait Implementations§
Source§impl Clone for JournalOptions
impl Clone for JournalOptions
Source§impl Debug for JournalOptions
impl Debug for JournalOptions
Auto Trait Implementations§
impl Freeze for JournalOptions
impl RefUnwindSafe for JournalOptions
impl Send for JournalOptions
impl Sync for JournalOptions
impl Unpin for JournalOptions
impl UnsafeUnpin for JournalOptions
impl UnwindSafe for JournalOptions
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