pub struct BytesPoolConfig {
pub small_size: usize,
pub small_max: usize,
pub medium_size: usize,
pub medium_max: usize,
pub large_size: usize,
pub large_max: usize,
pub xlarge_size: usize,
pub xlarge_max: usize,
}Expand description
BytesPool configuration.
Allows customization of buffer sizes and limits for each tier.
Fields§
§small_size: usize§small_max: usize§medium_size: usize§medium_max: usize§large_size: usize§large_max: usize§xlarge_size: usize§xlarge_max: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for BytesPoolConfig
impl RefUnwindSafe for BytesPoolConfig
impl Send for BytesPoolConfig
impl Sync for BytesPoolConfig
impl Unpin for BytesPoolConfig
impl UnsafeUnpin for BytesPoolConfig
impl UnwindSafe for BytesPoolConfig
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