pub struct IoSettings {
pub chunk_bytes: usize,
pub budget_bytes: usize,
}Expand description
Runtime configuration of physical IO, not an operation option.
Fields§
§chunk_bytes: usizeBytes per transport read, output chunk, record read and store copy
piece; each buffer is allocated on first need and never longer than
its useful length. At least MIN_CHUNK_BYTES.
budget_bytes: usizeBytes that reserved IO buffers may hold at once; usize::MAX is
unbounded.
Trait Implementations§
Source§impl Clone for IoSettings
impl Clone for IoSettings
Source§fn clone(&self) -> IoSettings
fn clone(&self) -> IoSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IoSettings
Source§impl Debug for IoSettings
impl Debug for IoSettings
Source§impl Default for IoSettings
impl Default for IoSettings
Source§fn default() -> IoSettings
fn default() -> IoSettings
Returns the “default value” for a type. Read more
impl Eq for IoSettings
Source§impl PartialEq for IoSettings
impl PartialEq for IoSettings
Source§fn eq(&self, other: &IoSettings) -> bool
fn eq(&self, other: &IoSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IoSettings
Auto Trait Implementations§
impl Freeze for IoSettings
impl RefUnwindSafe for IoSettings
impl Send for IoSettings
impl Sync for IoSettings
impl Unpin for IoSettings
impl UnsafeUnpin for IoSettings
impl UnwindSafe for IoSettings
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