pub struct PrefetchConfigV2 {
pub enable: bool,
pub threads_count: usize,
pub batch_size: usize,
pub bandwidth_limit: u32,
pub prefetch_all: bool,
}Expand description
Configuration information for blob data prefetching.
Fields§
§enable: boolWhether to enable blob data prefetching.
threads_count: usizeNumber of data prefetching working threads.
batch_size: usizeThe amplify batch size to prefetch data from backend.
bandwidth_limit: u32Network bandwidth rate limit in unit of Bytes and Zero means no limit.
prefetch_all: boolPrefetch all data from backend.
Trait Implementations§
Source§impl Clone for PrefetchConfigV2
impl Clone for PrefetchConfigV2
Source§fn clone(&self) -> PrefetchConfigV2
fn clone(&self) -> PrefetchConfigV2
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrefetchConfigV2
impl Debug for PrefetchConfigV2
Source§impl Default for PrefetchConfigV2
impl Default for PrefetchConfigV2
Source§fn default() -> PrefetchConfigV2
fn default() -> PrefetchConfigV2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrefetchConfigV2
impl<'de> Deserialize<'de> for PrefetchConfigV2
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for PrefetchConfigV2
impl Hash for PrefetchConfigV2
Source§impl PartialEq for PrefetchConfigV2
impl PartialEq for PrefetchConfigV2
Source§impl Serialize for PrefetchConfigV2
impl Serialize for PrefetchConfigV2
impl Eq for PrefetchConfigV2
impl StructuralPartialEq for PrefetchConfigV2
Auto Trait Implementations§
impl Freeze for PrefetchConfigV2
impl RefUnwindSafe for PrefetchConfigV2
impl Send for PrefetchConfigV2
impl Sync for PrefetchConfigV2
impl Unpin for PrefetchConfigV2
impl UnwindSafe for PrefetchConfigV2
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