pub struct BufferLimits {
pub max_events: usize,
pub max_bytes: usize,
pub max_age: Duration,
}Fields§
§max_events: usizeMax events retained across all streams.
max_bytes: usizeMax total payload bytes retained.
max_age: DurationMax age of an unacked event.
Trait Implementations§
Source§impl Clone for BufferLimits
impl Clone for BufferLimits
Source§impl Debug for BufferLimits
impl Debug for BufferLimits
Auto Trait Implementations§
impl Freeze for BufferLimits
impl RefUnwindSafe for BufferLimits
impl Send for BufferLimits
impl Sync for BufferLimits
impl Unpin for BufferLimits
impl UnsafeUnpin for BufferLimits
impl UnwindSafe for BufferLimits
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