pub struct ReassemblyLimits {
pub max_sample_size: u32,
pub max_samples: usize,
}Expand description
Limits on what a reader holds while putting samples together, for each writer.
Fields§
§max_sample_size: u32The largest sample accepted: fragments of larger ones are dropped.
max_samples: usizeHow many incomplete samples are kept.
Trait Implementations§
Source§impl Clone for ReassemblyLimits
impl Clone for ReassemblyLimits
impl Copy for ReassemblyLimits
Source§impl Debug for ReassemblyLimits
impl Debug for ReassemblyLimits
impl Eq for ReassemblyLimits
Source§impl PartialEq for ReassemblyLimits
impl PartialEq for ReassemblyLimits
impl StructuralPartialEq for ReassemblyLimits
Auto Trait Implementations§
impl Forget for ReassemblyLimits
impl Freeze for ReassemblyLimits
impl Move for ReassemblyLimits
impl RefUnwindSafe for ReassemblyLimits
impl Send for ReassemblyLimits
impl Sync for ReassemblyLimits
impl Unpin for ReassemblyLimits
impl UnsafeUnpin for ReassemblyLimits
impl UnwindSafe for ReassemblyLimits
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