pub struct ReadLimits {
pub max_item_bytes: usize,
pub max_history_block_bytes: usize,
}Expand description
Per-read byte ceilings enforced when copying values out of the store.
Fields§
§max_item_bytes: usizeMaximum copied key plus value for a single result.
max_history_block_bytes: usizeMaximum encoded bytes in one current MVCC history block.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReadLimits
impl RefUnwindSafe for ReadLimits
impl Send for ReadLimits
impl Sync for ReadLimits
impl Unpin for ReadLimits
impl UnsafeUnpin for ReadLimits
impl UnwindSafe for ReadLimits
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