pub struct QueueLimits {
pub commands: usize,
pub io_events: usize,
pub normal: QueueLimit,
pub urgent: QueueLimit,
}Expand description
Queue capacity for client internal commands, I/O events, and two send channels.
Fields§
§commands: usizeThe maximum number of commands that the client command queue can accommodate, default 128.
io_events: usizeThe maximum number of events that the I/O event queue can accommodate, default 128.
normal: QueueLimitThe upper limit of entries and payload bytes for ordinary send channels, default is 1024 entries, 16 MiB.
urgent: QueueLimitIndependent capacity of emergency sending channels, default 64, 1 MiB.
Implementations§
Trait Implementations§
Source§impl Clone for QueueLimits
impl Clone for QueueLimits
Source§impl Debug for QueueLimits
impl Debug for QueueLimits
Auto Trait Implementations§
impl Freeze for QueueLimits
impl RefUnwindSafe for QueueLimits
impl Send for QueueLimits
impl Sync for QueueLimits
impl Unpin for QueueLimits
impl UnsafeUnpin for QueueLimits
impl UnwindSafe for QueueLimits
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