pub struct PerfLimits {
pub max_inflight: usize,
pub max_queue: usize,
pub sendfile_threshold_bytes: u64,
}Available on crate feature
high-perf only.Expand description
Fields§
§max_inflight: usizeMaximum number of concurrently processed connections.
max_queue: usizeMaximum number of queued connections waiting for a slot.
sendfile_threshold_bytes: u64Minimum file size (bytes) for sendfile fast-path attempts.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PerfLimits
impl RefUnwindSafe for PerfLimits
impl Send for PerfLimits
impl Sync for PerfLimits
impl Unpin for PerfLimits
impl UnsafeUnpin for PerfLimits
impl UnwindSafe for PerfLimits
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